]> git.stg.codes - stg.git/blobdiff - projects/stargazer/settings_impl.cpp
Use std::jthread and C++17.
[stg.git] / projects / stargazer / settings_impl.cpp
index 656198f4bedc71d6a226f9427ed1568814611ce1..e85a08862c780eded802e77661ab2e79c32f304d 100644 (file)
@@ -37,7 +37,7 @@ namespace
 
 struct Error : public std::runtime_error
 {
-    Error(const std::string& message) : runtime_error(message) {}
+    explicit Error(const std::string& message) : runtime_error(message) {}
 };
 
 std::vector<std::string> toValues(const DOTCONFDocumentNode& node)