From: Mukund Sivaraman Date: Tue, 6 Nov 2012 04:16:34 +0000 (+0530) Subject: [2369] Make constructors explicit X-Git-Tag: trac2487_base~18^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=265fb98ba1f1daab43779b8eaeb6d7f8775dd772;p=thirdparty%2Fkea.git [2369] Make constructors explicit --- diff --git a/src/lib/dns/master_lexer_inputsource.h b/src/lib/dns/master_lexer_inputsource.h index af4c96b27f..5c7d75225f 100644 --- a/src/lib/dns/master_lexer_inputsource.h +++ b/src/lib/dns/master_lexer_inputsource.h @@ -65,13 +65,13 @@ public: /// \brief Constructor which takes an input stream. The stream is /// read-from, but it is not closed. - InputSource(std::istream& input_stream); + explicit InputSource(std::istream& input_stream); /// \brief Constructor which takes a filename to read from. The /// associated file stream is managed internally. /// /// \throws OpenError when opening the input file fails. - InputSource(const char* filename); + explicit InputSource(const char* filename); /// \brief Destructor ~InputSource();