mirror of
https://github.com/ARMSX2/ARMSX2.git
synced 2026-08-24 16:50:16 -07:00
Misc: Fix a bunch of issues preventing C++20 compilation
This commit is contained in:
committed by
Connor McLaughlin
parent
7ba7e04a13
commit
296dcccd81
+2
-2
@@ -88,7 +88,7 @@ void Error::SetWin32(unsigned long err)
|
||||
if (r > 0)
|
||||
m_description = fmt::format("Win32 Error {}: {}", err, std::string_view(buf, r));
|
||||
else
|
||||
m_description = fmt::format("Win32 Error {}: <Could not resolve system error ID>");
|
||||
m_description = fmt::format("Win32 Error {}: <Could not resolve system error ID>", err);
|
||||
}
|
||||
|
||||
void Error::SetWin32(Error* errptr, unsigned long err)
|
||||
@@ -106,7 +106,7 @@ void Error::SetHResult(long err)
|
||||
if (r > 0)
|
||||
m_description = fmt::format("HRESULT {:08X}: {}", err, std::string_view(buf, r));
|
||||
else
|
||||
m_description = fmt::format("HRESULT {:08X}: <Could not resolve system error ID>");
|
||||
m_description = fmt::format("HRESULT {:08X}: <Could not resolve system error ID>", err);
|
||||
}
|
||||
|
||||
void Error::SetHResult(Error* errptr, long err)
|
||||
|
||||
Reference in New Issue
Block a user