mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
fmt 10.0.0-10.1.1 compile fixes
Implicit conversion operators and enums was removed for parity with std::format (fce74caa15
).
This commit is contained in:
parent
965283c263
commit
63467559b2
8 changed files with 38 additions and 8 deletions
|
@ -3,8 +3,6 @@
|
|||
|
||||
#include "HRWrap.h"
|
||||
|
||||
#include <winrt/base.h>
|
||||
|
||||
namespace Common
|
||||
{
|
||||
std::string GetHResultMessage(HRESULT hr)
|
||||
|
@ -12,4 +10,8 @@ std::string GetHResultMessage(HRESULT hr)
|
|||
auto err = winrt::hresult_error(hr);
|
||||
return winrt::to_string(err.message());
|
||||
}
|
||||
std::string GetHResultMessage(const winrt::hresult& hr)
|
||||
{
|
||||
return GetHResultMessage(hr.value);
|
||||
}
|
||||
} // namespace Common
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue