diff --git a/tempfile/TempFile.h b/tempfile/TempFile.h index e5a93380..01288215 100644 --- a/tempfile/TempFile.h +++ b/tempfile/TempFile.h @@ -9,8 +9,8 @@ namespace cpputils { class TempFile { public: - TempFile(const boost::filesystem::path &path, bool create = true); - TempFile(bool create = true); + explicit TempFile(const boost::filesystem::path &path, bool create = true); + explicit TempFile(bool create = true); virtual ~TempFile(); const boost::filesystem::path &path() const;