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 {
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;