MiniEngine/SDLWrapper/ErrorViewer.cpp
kiritow 1ae05bab71 Remove exception specification
Exception Specification is deprecated in C++11.
2017-07-15 00:12:48 +08:00

19 lines
288 B
C++

#include "ErrorViewer.h"
#include "include.h"
#include "begin_code.h"
void ErrorViewer::fetch()
{
str = SDL_GetError();
}
std::string ErrorViewer::getError() const
{
return str;
}
const char * ErrorViewer::what() const noexcept
{
return str.c_str();
}
#include "end_code.h"