diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-25 15:28:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-26 09:57:21 +0100 |
commit | 6c9dfa8ab7cc25d6cc3ce988803118b5d56ea30b (patch) | |
tree | 83b683bb177d643385618e1f46642d014332a59d /unoxml/source/rdf/librdf_repository.cxx | |
parent | ecdbd313838093055c66614d7e5793aacae7c5bd (diff) |
cppcheck: noExplicitConstructor
Change-Id: If947733a205e8ece1845079be95cbc2d6cbd5029
Diffstat (limited to 'unoxml/source/rdf/librdf_repository.cxx')
-rw-r--r-- | unoxml/source/rdf/librdf_repository.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx index 10f7241a24ab..2b20ce0cd8fa 100644 --- a/unoxml/source/rdf/librdf_repository.cxx +++ b/unoxml/source/rdf/librdf_repository.cxx @@ -186,14 +186,14 @@ public: struct URI : public Resource { OString const value; - URI(OString const& i_rValue) + explicit URI(OString const& i_rValue) : value(i_rValue) { } }; struct BlankNode : public Resource { OString const value; - BlankNode(OString const& i_rValue) + explicit BlankNode(OString const& i_rValue) : value(i_rValue) { } }; @@ -635,7 +635,7 @@ class NodeArrayDeleter : public std::unary_function<librdf_node**, void> const int m_Count; public: - NodeArrayDeleter(int i_Count) : m_Count(i_Count) { } + explicit NodeArrayDeleter(int i_Count) : m_Count(i_Count) { } void operator() (librdf_node** io_pArray) const throw () { |