summaryrefslogtreecommitdiff
path: root/src/utils/xml.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-07 17:55:36 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-07 21:38:21 +0300
commitffeffa2314dbe03e0ced58e0c465760b54908690 (patch)
tree3da4d65e43a4b55aed7c01ec612c9dec50d1bd1c /src/utils/xml.h
parentae550d179c25e149f7e8a8d70011b364fb0d85d6 (diff)
downloadplus-ffeffa2314dbe03e0ced58e0c465760b54908690.tar.gz
plus-ffeffa2314dbe03e0ced58e0c465760b54908690.tar.bz2
plus-ffeffa2314dbe03e0ced58e0c465760b54908690.tar.xz
plus-ffeffa2314dbe03e0ced58e0c465760b54908690.zip
fix cide style.
Add explicit keyword to some constructors.
Diffstat (limited to 'src/utils/xml.h')
-rw-r--r--src/utils/xml.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/xml.h b/src/utils/xml.h
index a0ce23d07..43065fa62 100644
--- a/src/utils/xml.h
+++ b/src/utils/xml.h
@@ -65,7 +65,8 @@ namespace XML
* Constructor that attempts to load the given file through the
* resource manager. Logs errors.
*/
- Document(const std::string &filename, const bool useResman = true);
+ explicit Document(const std::string &filename,
+ const bool useResman = true);
/**
* Constructor that attempts to load an XML document from memory.