From 968206877c2ee1cf220abdafb39a876c16afb0fa Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Fri, 29 Dec 2017 17:11:10 +0500 Subject: All usages of previous event-system replaced with new event-system --- src/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 2b213b3..8be8412 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4,6 +4,7 @@ #include +#include #include const char *getTimeSinceProgramStart(void) { @@ -36,11 +37,11 @@ void initLogger() { int main(int argc, char** argv) { srand(time(0)); initLogger(); - LOG(WARNING) << "Sizeof EventData is " << sizeof(EventData); + //LOG(WARNING) << "Sizeof EventData is " << sizeof(EventData); try { if (SDL_Init(0) == -1) - throw std::runtime_error("SDL initialization failed: " + std::string(SDL_GetError())); + throw std::runtime_error(std::string("SDL initialization failed: ") + SDL_GetError()); } catch (std::exception& e) { LOG(ERROR) << e.what(); return -1; -- cgit v1.2.3