UI component factory base exception bugfix

This commit is contained in:
Nikita Lisitsa 2023-09-10 13:44:52 +03:00
parent 85a6ade2cb
commit 6e366cea16

View file

@ -20,7 +20,7 @@ namespace psemek::ui::impl
: util::exception
{
component_not_supported_exception(std::type_index type, boost::stacktrace::stacktrace stacktrace = {})
: util::exception(util::to_string("UI component ", util::type_name(type_), " is not supported"), std::move(stacktrace))
: util::exception(util::to_string("UI component ", util::type_name(type), " is not supported"), std::move(stacktrace))
, type_(type)
{}