diff options
Diffstat (limited to 'engine/exception.cpp')
-rw-r--r-- | engine/exception.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/exception.cpp b/engine/exception.cpp index d4f1a74..f3bed3d 100644 --- a/engine/exception.cpp +++ b/engine/exception.cpp @@ -3,7 +3,7 @@ using namespace flat; -FlatException::FlatException(const char* error) : error(error) {} +FlatException::FlatException(const char* error) : m_error(error) {} FlatException::~FlatException() {} @@ -11,7 +11,7 @@ char buffer[256]; const char* FlatException::what() const throw() { - sprintf(buffer, "%s thrown: %s", specific(), error); + sprintf(buffer, "%s thrown: %s", specific(), m_error); return &buffer[0]; } |