Base: cppcoreguidelines

This commit is contained in:
wmayer
2023-11-23 17:25:37 +01:00
committed by wwmayer
parent b5adfff293
commit c2694fd7d9
11 changed files with 51 additions and 55 deletions

View File

@@ -248,7 +248,7 @@ protected:
* The preferred way of throwing an exception is using the macros above.
* This way, the file, line, and function are automatically inserted. */
explicit Exception(const char* sMessage);
explicit Exception(const std::string& sMessage);
explicit Exception(std::string sMessage);
Exception();
Exception(const Exception& inst);
Exception(Exception&& inst) noexcept;