Exception args should be passed as c-string

(it's a compiled literal after-all)
This commit is contained in:
Jack Andersen
2015-07-25 16:50:43 -10:00
committed by Phillip Stephens
parent b7d4c51979
commit b38d7533c5
3 changed files with 3 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ std::ostream& operator<<(std::ostream& os, const Athena::Endian& endian)
}
static void __defaultExceptionHandler(const Athena::error::Level& level, const std::string& file, const std::string& function, int line, const char* fmt, ...)
static void __defaultExceptionHandler(const Athena::error::Level& level, const char* file, const char* function, int line, const char* fmt, ...)
{
std::string levelStr;
switch(level)