From 77a50c8eb4e764fad156ea5659e60747b696695a Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Mon, 27 Apr 2015 18:21:18 +0200 Subject: [PATCH] Make constructors explicit where adequate --- tempfile/TempFile.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;