diff options
Diffstat (limited to 'include/cru/common/Exception.hpp')
-rw-r--r-- | include/cru/common/Exception.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cru/common/Exception.hpp b/include/cru/common/Exception.hpp index 8864f4df..4e5d3a16 100644 --- a/include/cru/common/Exception.hpp +++ b/include/cru/common/Exception.hpp @@ -5,7 +5,7 @@ namespace cru { class CRU_BASE_API Exception { public: Exception() = default; - Exception(String message) : message_(std::move(message)) {} + explicit Exception(String message) : message_(std::move(message)) {} CRU_DEFAULT_COPY(Exception) CRU_DEFAULT_MOVE(Exception) |