Skip to content
Snippets Groups Projects
Commit e3f20ff3 authored by Tom Fischer's avatar Tom Fischer Committed by Dmitri Naumov
Browse files

[NL] Make Exception contructor explicit

parent f08ee204
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,7 @@ namespace NumLib ...@@ -17,7 +17,7 @@ namespace NumLib
{ {
struct AssemblyException : public std::runtime_error struct AssemblyException : public std::runtime_error
{ {
AssemblyException(std::string const& reason) explicit AssemblyException(std::string const& reason)
: std::runtime_error{"Error in process' assembly: " + reason} {}; : std::runtime_error{"Error in process' assembly: " + reason} {};
}; };
} // namespace NumLib } // namespace NumLib
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment