Make constructors explicit where adequate
This commit is contained in:
parent
9999c13ac4
commit
77a50c8eb4
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user