Skip to content

Commit

Permalink
gui: Demangle type name when printing an warning.
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Costa <[email protected]>
  • Loading branch information
titan73 committed Aug 19, 2024
1 parent e2d31e1 commit 203d012
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/src/gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,8 @@ Selected Gui::makeSelected(const std::any& object)
}
logger_->warn(utl::GUI,
33,
"No descriptor is registered for {}.",
object.type().name());
"No descriptor is registered for type {}.",
abi::__cxa_demangle(object.type().name(), NULL, NULL, NULL));
return Selected(); // FIXME: null descriptor
}

Expand Down

0 comments on commit 203d012

Please sign in to comment.