Make constructors explicit where adequate
This commit is contained in:
parent
65eb73e7d9
commit
2970de9c4f
@ -17,7 +17,7 @@ class Filesystem;
|
|||||||
|
|
||||||
class Fuse {
|
class Fuse {
|
||||||
public:
|
public:
|
||||||
Fuse(Filesystem *fs);
|
explicit Fuse(Filesystem *fs);
|
||||||
virtual ~Fuse();
|
virtual ~Fuse();
|
||||||
|
|
||||||
void run(int argc, char **argv);
|
void run(int argc, char **argv);
|
||||||
|
@ -10,7 +10,7 @@ namespace fuse{
|
|||||||
|
|
||||||
class FuseErrnoException: public std::runtime_error {
|
class FuseErrnoException: public std::runtime_error {
|
||||||
public:
|
public:
|
||||||
FuseErrnoException(int errno_);
|
explicit FuseErrnoException(int errno_);
|
||||||
virtual ~FuseErrnoException();
|
virtual ~FuseErrnoException();
|
||||||
|
|
||||||
int getErrno() const;
|
int getErrno() const;
|
||||||
|
@ -15,7 +15,7 @@ class OpenFile;
|
|||||||
|
|
||||||
class FilesystemImpl: public fuse::Filesystem {
|
class FilesystemImpl: public fuse::Filesystem {
|
||||||
public:
|
public:
|
||||||
FilesystemImpl(Device *device);
|
explicit FilesystemImpl(Device *device);
|
||||||
virtual ~FilesystemImpl();
|
virtual ~FilesystemImpl();
|
||||||
|
|
||||||
int openFile(const boost::filesystem::path &path, int flags) override;
|
int openFile(const boost::filesystem::path &path, int flags) override;
|
||||||
|
Loading…
Reference in New Issue
Block a user