1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-15 22:57:12 +02:00

Move away from C format to cpp::fmt.

This commit is contained in:
Sandu Liviu Catalin
2021-02-03 17:50:39 +02:00
parent 09a1767ffe
commit 0de21ae5a0
39 changed files with 215 additions and 215 deletions

View File

@ -45,7 +45,7 @@ public:
{
if (!mHandle)
{
STHROWF("Cannot %s. Invalid directory handle.", action);
STHROWF("Cannot {}. Invalid directory handle.", action);
}
}
@ -396,7 +396,7 @@ public:
{
if (!mHandle)
{
STHROWF("Cannot %s. Invalid file handle.", action);
STHROWF("Cannot {}. Invalid file handle.", action);
}
}
@ -527,11 +527,11 @@ public:
// Now we can throw the exception
if (errno != 0)
{
STHROWF("Failed to open file: %s [%s]", path.mPtr, strerror(errno));
STHROWF("Failed to open file: {} [{}]", path.mPtr, strerror(errno));
}
else
{
STHROWLASTF("Failed to open file: %s", path.mPtr);
STHROWLASTF("Failed to open file: {}", path.mPtr);
}
}
}