mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-24 02:32:36 +00:00
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:
parent
a5e7986b3e
commit
38fa775559
@ -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
|
||||
{
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user