diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-09-24 21:03:13 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-09-24 23:13:15 +0100 |
commit | f93faf23d994f3a9c86d4e44f7e262699ba0de2a (patch) | |
tree | cf922c4b237d02a30c08b5387f5a5ca48c45b2f3 /netfs/daemon | |
parent | Revise fuse_ls test to test cache hits (diff) | |
download | netfs-f93faf23d994f3a9c86d4e44f7e262699ba0de2a.tar.bz2 netfs-f93faf23d994f3a9c86d4e44f7e262699ba0de2a.tar.xz netfs-f93faf23d994f3a9c86d4e44f7e262699ba0de2a.zip |
Minor fixups
Diffstat (limited to 'netfs/daemon')
-rw-r--r-- | netfs/daemon/daemonVolume.cpp | 2 | ||||
-rw-r--r-- | netfs/daemon/daemonVolume.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/netfs/daemon/daemonVolume.cpp b/netfs/daemon/daemonVolume.cpp index dc16011..bdd899b 100644 --- a/netfs/daemon/daemonVolume.cpp +++ b/netfs/daemon/daemonVolume.cpp @@ -323,7 +323,7 @@ normalizedAppend(std::filesystem::path out, const std::filesystem::path && in) } std::filesystem::path -VolumeServer::resolvePath(std::string path) const +VolumeServer::resolvePath(std::string && path) const { return normalizedAppend(root, std::move(path)); } diff --git a/netfs/daemon/daemonVolume.h b/netfs/daemon/daemonVolume.h index 190f146..770cada 100644 --- a/netfs/daemon/daemonVolume.h +++ b/netfs/daemon/daemonVolume.h @@ -39,7 +39,7 @@ class VolumeServer : public NetFS::Volume { virtual void disconnect(const Ice::Current&) override; protected: - std::filesystem::path resolvePath(std::string path) const; + inline std::filesystem::path resolvePath(std::string && path) const; private: const std::filesystem::path root; |