mirror of
https://github.com/libAthena/athena.git
synced 2025-12-21 18:59:12 +00:00
Exception args should be passed as c-string
(it's a compiled literal after-all)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user