diff --git a/PKGBUILD b/PKGBUILD index 5d64b54..4a78b90 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # PKGBUILD for libAthena _pkgname=libathena pkgname=$_pkgname-git -pkgver=2.1.0 +pkgver=2.2.0.3.g4a688a1 pkgrel=1 pkgdesc="Basic cross platform IO library" arch=('i686' 'x86_64') diff --git a/include/Athena/Global.hpp b/include/Athena/Global.hpp index 2700af6..1d4a942 100644 --- a/include/Athena/Global.hpp +++ b/include/Athena/Global.hpp @@ -112,7 +112,7 @@ typedef Vector2D Vector2Df; #endif // ATHENA_NO_SAKURA } // Athena -typedef void (*atEXCEPTION_HANDLER)(const Athena::error::Level& level, const std::string& file, const std::string& function, int line, const char* fmt, ...); +typedef void (*atEXCEPTION_HANDLER)(const Athena::error::Level& level, const char* file, const char* function, int line, const char* fmt, ...); atEXCEPTION_HANDLER atGetExceptionHandler(); void atSetExceptionHandler(atEXCEPTION_HANDLER func); diff --git a/src/Athena/Global.cpp b/src/Athena/Global.cpp index 50dd073..4c175b7 100644 --- a/src/Athena/Global.cpp +++ b/src/Athena/Global.cpp @@ -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)