Commit 265fb98b authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[2369] Make constructors explicit

parent 9af419de
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment