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

[2369] Make constructors explicit

parent 9af419de
...@@ -65,13 +65,13 @@ public: ...@@ -65,13 +65,13 @@ public:
/// \brief Constructor which takes an input stream. The stream is /// \brief Constructor which takes an input stream. The stream is
/// read-from, but it is not closed. /// 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 /// \brief Constructor which takes a filename to read from. The
/// associated file stream is managed internally. /// associated file stream is managed internally.
/// ///
/// \throws OpenError when opening the input file fails. /// \throws OpenError when opening the input file fails.
InputSource(const char* filename); explicit InputSource(const char* filename);
/// \brief Destructor /// \brief Destructor
~InputSource(); ~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