mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-16 07:07:13 +02:00
Update Common.cpp
This commit is contained in:
@ -149,7 +149,7 @@ void SqThrowLastF(const SQChar * msg, ...)
|
||||
// Now it's safe to throw the error
|
||||
SqThrowF(fmt::runtime("{} [{}]"), b.Data(), message);
|
||||
#else
|
||||
SqThrowF("{} [{}]", b.Data(), std::strerror(errno));
|
||||
SqThrowF(fmt::runtime("{} [{}]"), b.Data(), std::strerror(errno));
|
||||
#endif // SQMOD_OS_WINDOWS
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user