From 954f28c2dce42eeb6f5175f762b6ad0e1e079745 Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Sun, 22 Aug 2021 18:40:54 +0300 Subject: [PATCH] Update Common.cpp --- module/Core/Common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/Core/Common.cpp b/module/Core/Common.cpp index 90442f70..303ea017 100644 --- a/module/Core/Common.cpp +++ b/module/Core/Common.cpp @@ -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 }