Cleanup: missing explicit.
authorCarl Hetherington <cth@carlh.net>
Sun, 2 Jul 2023 19:57:22 +0000 (21:57 +0200)
committerCarl Hetherington <cth@carlh.net>
Sun, 2 Jul 2023 19:57:22 +0000 (21:57 +0200)
src/cxml.h

index 837c9dbab68a9022d7342c2bc2724668312b134a..9a71889533e21d65932dbcdaf1c96d0fa4120da2 100644 (file)
@@ -245,7 +245,7 @@ class Document : public Node
 {
 public:
        Document ();
-       Document (std::string root_name);
+       explicit Document(std::string root_name);
        Document (std::string root_name, boost::filesystem::path);
 
        Document (Document const&) = delete;