diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-09-24 00:05:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-24 00:05:00 +0200 |
| commit | c67cd65b53236b638064e34a87206e895c538f2d (patch) | |
| tree | 3b41e3c5655bdc85eee6fef2efa8e5ab7c70f2aa /Source/Core/Common/HRWrap.cpp | |
| parent | c0f690b780c2b01a448ef51f19f936a9f89435a8 (diff) | |
| parent | 63467559b20682a6b9e4ec43c6b43456e1fca111 (diff) | |
Merge pull request #12190 from AdmiralCurtiss/fmt10
Update fmt to 10.1.1
Diffstat (limited to 'Source/Core/Common/HRWrap.cpp')
| -rw-r--r-- | Source/Core/Common/HRWrap.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/Common/HRWrap.cpp b/Source/Core/Common/HRWrap.cpp index d815078fec..54fda4a890 100644 --- a/Source/Core/Common/HRWrap.cpp +++ b/Source/Core/Common/HRWrap.cpp @@ -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 |
