Make window_builder_invalid_id extend std::exception.

Bost.Test gives essentially no information about things thrown that don't extend std::exception.
This commit is contained in:
Pentarctagon 2022-08-01 13:43:19 -05:00 committed by Pentarctagon
parent a5e7986b3e
commit 38fa775559

View File

@ -106,7 +106,7 @@ extern gui_theme_map_t::iterator default_gui;
resolution_definition_ptr get_control(const std::string& control_type, const std::string& definition);
/** Helper struct to signal that get_window_builder failed. */
struct window_builder_invalid_id
struct window_builder_invalid_id : std::exception
{
};