Make constructors explicit where adequate

This commit is contained in:
Sebastian Messmer 2015-04-27 18:21:18 +02:00
parent 9999c13ac4
commit 77a50c8eb4

View File

@ -9,8 +9,8 @@ namespace cpputils {
class TempFile { class TempFile {
public: public:
TempFile(const boost::filesystem::path &path, bool create = true); explicit TempFile(const boost::filesystem::path &path, bool create = true);
TempFile(bool create = true); explicit TempFile(bool create = true);
virtual ~TempFile(); virtual ~TempFile();
const boost::filesystem::path &path() const; const boost::filesystem::path &path() const;