diff --git a/src/Core/Exceptions/CreatureException.hpp b/src/Core/Exceptions/CreatureException.hpp index 02271c5..d316d33 100644 --- a/src/Core/Exceptions/CreatureException.hpp +++ b/src/Core/Exceptions/CreatureException.hpp @@ -8,7 +8,7 @@ class CreatureException : std::exception { std::string _error; public: - CreatureException(std::string error) {} + CreatureException(std::string error) : _error(error) {} const char* what() const noexcept override { return _error.c_str(); } };