aboutsummaryrefslogtreecommitdiff
path: root/src/exception.h
diff options
context:
space:
mode:
authorYuqian Yang <crupest@outlook.com>2018-09-27 15:01:15 +0000
committerYuqian Yang <crupest@outlook.com>2018-09-27 15:01:15 +0000
commitb0b5a481c9b0460f275887b15e8edecc34e99186 (patch)
tree914b66de1428ddfa55a190495e7e24cbb5f8b8c2 /src/exception.h
parent1fdc86fe5f8d18fdc8927f663aaeaa0b6b8f1e9b (diff)
parenteab8d69ccac6f7b306561a49e9c1f8fda21376d2 (diff)
downloadcru-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.h2
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);
}