diff --git a/include/TConsole.h b/include/TConsole.h index 4b4da65..fcaca26 100644 --- a/include/TConsole.h +++ b/include/TConsole.h @@ -1,5 +1,5 @@ #pragma once -#undef max //fixes windows macro + #include "commandline/commandline.h" #include "TLuaFile.h" #include diff --git a/src/Http.cpp b/src/Http.cpp index b3417b7..4686dd1 100644 --- a/src/Http.cpp +++ b/src/Http.cpp @@ -1,6 +1,6 @@ #include "Http.h" -//#include "Common.h" +#include "Common.h" #include #include #include @@ -47,7 +47,7 @@ std::string Http::GET(const std::string& host, int port, const std::string& targ return result; } catch (const std::exception& e) { - //error(e.what()); + error(e.what()); return "-1"; } } @@ -137,7 +137,7 @@ std::string Http::POST(const std::string& host, const std::string& target, const return std::string(response.body()); } catch (const std::exception& e) { - //error(e.what()); + error(e.what()); return "-1"; } } \ No newline at end of file