diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-04-08 20:05:39 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-04-08 20:05:39 +0100 |
commit | da31677241bb12911e20beb5e4fc8982bfc39fa0 (patch) | |
tree | 3cec76c4c74453d9624cf44fbed2221fe7c398ee | |
parent | Don't std::move trivially copyable, add some const (diff) | |
download | netfs-da31677241bb12911e20beb5e4fc8982bfc39fa0.tar.bz2 netfs-da31677241bb12911e20beb5e4fc8982bfc39fa0.tar.xz netfs-da31677241bb12911e20beb5e4fc8982bfc39fa0.zip |
Modernize namespace
-rw-r--r-- | netfs/fuse/fuseMappersImpl.h | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/netfs/fuse/fuseMappersImpl.h b/netfs/fuse/fuseMappersImpl.h index fd9e2aa..a87f7ba 100644 --- a/netfs/fuse/fuseMappersImpl.h +++ b/netfs/fuse/fuseMappersImpl.h @@ -7,27 +7,25 @@ #include <fuseMappers.h> #include <visibility.h> -namespace NetFS { - namespace Client { - std::string to_octal(const Ice::Int &); - Ice::Int from_octal(const std::string &); +namespace NetFS::Client { + std::string to_octal(const Ice::Int &); + Ice::Int from_octal(const std::string &); - class DLL_PUBLIC HideUnknownMapperImpl : public HideUnknownMapper, Mapping::BaseMapper { - public: - using BaseMapper::BaseMapper; + class DLL_PUBLIC HideUnknownMapperImpl : public HideUnknownMapper, Mapping::BaseMapper { + public: + using BaseMapper::BaseMapper; - Mapping::Transport mapFileSystem(int uid, int gid) override; - Mapping::FileSystem mapTransport(const std::string & un, const std::string & gn) override; - }; + Mapping::Transport mapFileSystem(int uid, int gid) override; + Mapping::FileSystem mapTransport(const std::string & un, const std::string & gn) override; + }; - class DLL_PUBLIC MaskUnknownMapperImpl : public MaskUnknownMapper, Mapping::BaseMapper { - public: - using BaseMapper::BaseMapper; + class DLL_PUBLIC MaskUnknownMapperImpl : public MaskUnknownMapper, Mapping::BaseMapper { + public: + using BaseMapper::BaseMapper; - Mapping::Transport mapFileSystem(int uid, int gid) override; - Mapping::FileSystem mapTransport(const std::string & un, const std::string & gn) override; - }; - } + Mapping::Transport mapFileSystem(int uid, int gid) override; + Mapping::FileSystem mapTransport(const std::string & un, const std::string & gn) override; + }; } #endif |