Make constructors explicit where adequate
This commit is contained in:
parent
65eb73e7d9
commit
2970de9c4f
@ -17,7 +17,7 @@ class Filesystem;
|
||||
|
||||
class Fuse {
|
||||
public:
|
||||
Fuse(Filesystem *fs);
|
||||
explicit Fuse(Filesystem *fs);
|
||||
virtual ~Fuse();
|
||||
|
||||
void run(int argc, char **argv);
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user