1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 00:37:15 +01:00

Update Common.cpp

This commit is contained in:
Sandu Liviu Catalin 2021-08-22 18:40:54 +03:00
parent 9ca62af730
commit 954f28c2dc

View File

@ -149,7 +149,7 @@ void SqThrowLastF(const SQChar * msg, ...)
// Now it's safe to throw the error // Now it's safe to throw the error
SqThrowF(fmt::runtime("{} [{}]"), b.Data(), message); SqThrowF(fmt::runtime("{} [{}]"), b.Data(), message);
#else #else
SqThrowF("{} [{}]", b.Data(), std::strerror(errno)); SqThrowF(fmt::runtime("{} [{}]"), b.Data(), std::strerror(errno));
#endif // SQMOD_OS_WINDOWS #endif // SQMOD_OS_WINDOWS
} }