Make constructors explicit where adequate

This commit is contained in:
Sebastian Messmer 2015-04-27 18:20:07 +02:00
parent fa4e23ceb4
commit 30f7791af7
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ namespace cryfs {
class CryConfig { class CryConfig {
public: public:
CryConfig(const boost::filesystem::path &configfile); explicit CryConfig(const boost::filesystem::path &configfile);
virtual ~CryConfig(); virtual ~CryConfig();
const std::string &RootBlob() const; const std::string &RootBlob() const;

View File

@ -11,7 +11,7 @@ class FileBlob;
class CryOpenFile: public fspp::OpenFile { class CryOpenFile: public fspp::OpenFile {
public: public:
CryOpenFile(std::unique_ptr<FileBlob> fileBlob); explicit CryOpenFile(std::unique_ptr<FileBlob> fileBlob);
virtual ~CryOpenFile(); virtual ~CryOpenFile();
void stat(struct ::stat *result) const override; void stat(struct ::stat *result) const override;