diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-29 20:23:30 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-30 08:13:26 +0000 |
commit | e87f71cebee26624b4e9495b0acc172d47e705dd (patch) | |
tree | e30b48bc7923147a4edc2c7925e3a8d85bf999f6 /sax/source/fastparser | |
parent | 8be504b6239d34963cb44411d0b3502ac23aeeb2 (diff) |
cppcheck: noExplicitConstructor
Change-Id: Id6d969713d94b558a93d303c6dabcbfdd1c65194
Diffstat (limited to 'sax/source/fastparser')
-rw-r--r-- | sax/source/fastparser/fastparser.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx index 824225ea79b4..d8baef9cb282 100644 --- a/sax/source/fastparser/fastparser.cxx +++ b/sax/source/fastparser/fastparser.cxx @@ -200,7 +200,7 @@ namespace sax_fastparser { class FastSaxParserImpl { public: - FastSaxParserImpl( FastSaxParser* pFront ); + explicit FastSaxParserImpl(FastSaxParser* pFront); ~FastSaxParserImpl(); // XFastParser @@ -270,7 +270,7 @@ class ParserThread: public salhelper::Thread { FastSaxParserImpl *mpParser; public: - ParserThread(FastSaxParserImpl *pParser): Thread("Parser"), mpParser(pParser) {} + explicit ParserThread(FastSaxParserImpl *pParser): Thread("Parser"), mpParser(pParser) {} private: virtual void execute() override { @@ -331,7 +331,7 @@ static int call_callbackExternalEntityRef( XML_Parser parser, class FastLocatorImpl : public WeakImplHelper< XLocator > { public: - FastLocatorImpl( FastSaxParserImpl *p ) : mpParser(p) {} + explicit FastLocatorImpl(FastSaxParserImpl *p) : mpParser(p) {} void dispose() { mpParser = 0; } void checkDispose() throw (RuntimeException) { if( !mpParser ) throw DisposedException(); } |