summaryrefslogtreecommitdiff
path: root/netfs/unittests/mockFuse.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-08-30 19:22:42 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2020-08-30 19:28:42 +0100
commit68329fe3f6dcd5ec769dab52ba7cfd25ec1f5494 (patch)
tree5606f17a9cf8ca17fa907bfc658ac32a01e6aff6 /netfs/unittests/mockFuse.cpp
parentEntryResolvers return where they got the resolution from (diff)
downloadnetfs-68329fe3f6dcd5ec769dab52ba7cfd25ec1f5494.tar.bz2
netfs-68329fe3f6dcd5ec769dab52ba7cfd25ec1f5494.tar.xz
netfs-68329fe3f6dcd5ec769dab52ba7cfd25ec1f5494.zip
Clang format all the code
Diffstat (limited to 'netfs/unittests/mockFuse.cpp')
-rw-r--r--netfs/unittests/mockFuse.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/netfs/unittests/mockFuse.cpp b/netfs/unittests/mockFuse.cpp
index 8a85267..554a62d 100644
--- a/netfs/unittests/mockFuse.cpp
+++ b/netfs/unittests/mockFuse.cpp
@@ -3,9 +3,7 @@
#include <buffer.h>
FuseMock::FuseMock(std::string ep, Ice::StringSeq a) :
- NetFS::FuseApp(std::move(a)),
- testEndpoint(std::move(ep)),
- context({})
+ NetFS::FuseApp(std::move(a)), testEndpoint(std::move(ep)), context({})
{
::memset(&context, 0, sizeof(fuse_context));
context.pid = getpid();
@@ -43,11 +41,9 @@ FuseMock::vlogf(int, const char * fmt, va_list args) const noexcept
}
FuseMockHost::FuseMockHost(std::string ep, const Ice::StringSeq & a) :
- app(std::make_unique<FuseMock>(std::move(ep), a)),
- fuse(&app->operations)
+ app(std::make_unique<FuseMock>(std::move(ep), a)), fuse(&app->operations)
{
if (app->operations.init) {
app->operations.init(nullptr, nullptr);
}
}
-