diff options
author | Yuqian Yang <crupest@outlook.com> | 2018-09-27 15:01:15 +0000 |
---|---|---|
committer | Yuqian Yang <crupest@outlook.com> | 2018-09-27 15:01:15 +0000 |
commit | b0b5a481c9b0460f275887b15e8edecc34e99186 (patch) | |
tree | 914b66de1428ddfa55a190495e7e24cbb5f8b8c2 /src/exception.h | |
parent | 1fdc86fe5f8d18fdc8927f663aaeaa0b6b8f1e9b (diff) | |
parent | eab8d69ccac6f7b306561a49e9c1f8fda21376d2 (diff) | |
download | cru-b0b5a481c9b0460f275887b15e8edecc34e99186.tar.gz cru-b0b5a481c9b0460f275887b15e8edecc34e99186.tar.bz2 cru-b0b5a481c9b0460f275887b15e8edecc34e99186.zip |
Merge branch '5-border' into 'master'
Resolve "Develop border."
Closes #5
See merge request crupest/CruUI!7
Diffstat (limited to 'src/exception.h')
-rw-r--r-- | src/exception.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exception.h b/src/exception.h index 2817f261..6749b684 100644 --- a/src/exception.h +++ b/src/exception.h @@ -32,7 +32,7 @@ namespace cru { throw HResultError(h_result); } - inline void ThrowIfFailed(const HRESULT h_result, const std::string& message) { + inline void ThrowIfFailed(const HRESULT h_result, const std::string_view& message) { if (FAILED(h_result)) throw HResultError(h_result, message); } |