summaryrefslogtreecommitdiff
path: root/netfs/fuse
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-09-02 00:12:06 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2020-09-05 17:30:11 +0100
commit4d9b633c79ca86140af90c92b7a732dc0bbbe2bd (patch)
tree8ad3d57491255cc22c5ae10a7bcc234b87a6d9e2 /netfs/fuse
parentFirst cut extensible mapper (diff)
downloadnetfs-4d9b633c79ca86140af90c92b7a732dc0bbbe2bd.tar.bz2
netfs-4d9b633c79ca86140af90c92b7a732dc0bbbe2bd.tar.xz
netfs-4d9b633c79ca86140af90c92b7a732dc0bbbe2bd.zip
Tidy up of previous commit of extensible mapper
Diffstat (limited to 'netfs/fuse')
-rw-r--r--netfs/fuse/fuseApp.impl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/netfs/fuse/fuseApp.impl.h b/netfs/fuse/fuseApp.impl.h
index e433ee7..9947f36 100644
--- a/netfs/fuse/fuseApp.impl.h
+++ b/netfs/fuse/fuseApp.impl.h
@@ -12,8 +12,7 @@ namespace NetFS {
{
auto & map = getMap<Handle>();
Lock(_proxymaplock);
- while (map.find(fh = ++openHandleId) != map.end())
- ;
+ while (map.find(fh = ++openHandleId) != map.end()) { }
map.emplace(fh, std::make_shared<typename Handle::element_type>(params...));
}