diff --git a/fuse/Fuse.h b/fuse/Fuse.h index acd5c68d..ae0275ff 100644 --- a/fuse/Fuse.h +++ b/fuse/Fuse.h @@ -17,7 +17,7 @@ class Filesystem; class Fuse { public: - Fuse(Filesystem *fs); + explicit Fuse(Filesystem *fs); virtual ~Fuse(); void run(int argc, char **argv); diff --git a/fuse/FuseErrnoException.h b/fuse/FuseErrnoException.h index 7e73a9ff..0c67bf58 100644 --- a/fuse/FuseErrnoException.h +++ b/fuse/FuseErrnoException.h @@ -10,7 +10,7 @@ namespace fuse{ class FuseErrnoException: public std::runtime_error { public: - FuseErrnoException(int errno_); + explicit FuseErrnoException(int errno_); virtual ~FuseErrnoException(); int getErrno() const; diff --git a/impl/FilesystemImpl.h b/impl/FilesystemImpl.h index 169a8e11..1e209051 100644 --- a/impl/FilesystemImpl.h +++ b/impl/FilesystemImpl.h @@ -15,7 +15,7 @@ class OpenFile; class FilesystemImpl: public fuse::Filesystem { public: - FilesystemImpl(Device *device); + explicit FilesystemImpl(Device *device); virtual ~FilesystemImpl(); int openFile(const boost::filesystem::path &path, int flags) override;