mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-08-09 17:41:47 +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
|
// 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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user