Skip to content

Commit

Permalink
fix reset_gamestate_exception not inheriting from std::exception
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Feb 24, 2018
2 parents 4cb0671 + 890d2e4 commit f978c2c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/playsingle_controller.hpp
Expand Up @@ -24,7 +24,9 @@
#include "saved_game.hpp"
#include "replay_controller.hpp"

struct reset_gamestate_exception
#include <exception>

struct reset_gamestate_exception : public std::exception
{
reset_gamestate_exception(std::shared_ptr<config> l, bool s = true) : level(l), start_replay(s) {}
std::shared_ptr<config> level;
Expand Down

0 comments on commit f978c2c

Please sign in to comment.