From da31677241bb12911e20beb5e4fc8982bfc39fa0 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 8 Apr 2022 20:05:39 +0100 Subject: Modernize namespace --- netfs/fuse/fuseMappersImpl.h | 32 +++++++++++++++----------------- 1 file 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 #include -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 -- cgit v1.2.3