From 890d2e4a59e92ccb7d73ec93b3a084d008ff7044 Mon Sep 17 00:00:00 2001 From: gfgtdf Date: Sat, 24 Feb 2018 23:37:40 +0100 Subject: [PATCH] fix reset_gamestate_exception not inheriting from std::exception --- src/playsingle_controller.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/playsingle_controller.hpp b/src/playsingle_controller.hpp index 9fad8b4ae767..823e966ded91 100644 --- a/src/playsingle_controller.hpp +++ b/src/playsingle_controller.hpp @@ -24,7 +24,9 @@ #include "saved_game.hpp" #include "replay_controller.hpp" -struct reset_gamestate_exception +#include + +struct reset_gamestate_exception : public std::exception { reset_gamestate_exception(std::shared_ptr l, bool s = true) : level(l), start_replay(s) {} std::shared_ptr level;