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:
parent
9ca62af730
commit
954f28c2dc
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user