summaryrefslogtreecommitdiff
path: root/libfusepp/fuseAppBase.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <daniel.goodliffe@pressassociation.com>2015-02-16 17:10:48 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-05-06 00:40:49 +0100
commit01ab3c40b2cae1a195ab2cd3bfcf8af9d783fac0 (patch)
treeabffd68e54deda213861236436d7ab21147462c4 /libfusepp/fuseAppBase.cpp
parentExport the runint function (diff)
downloadnetfs-01ab3c40b2cae1a195ab2cd3bfcf8af9d783fac0.tar.bz2
netfs-01ab3c40b2cae1a195ab2cd3bfcf8af9d783fac0.tar.xz
netfs-01ab3c40b2cae1a195ab2cd3bfcf8af9d783fac0.zip
runint doesn't need a pointer to itself passing in
Diffstat (limited to 'libfusepp/fuseAppBase.cpp')
-rw-r--r--libfusepp/fuseAppBase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libfusepp/fuseAppBase.cpp b/libfusepp/fuseAppBase.cpp
index 4d9ca97..4e34192 100644
--- a/libfusepp/fuseAppBase.cpp
+++ b/libfusepp/fuseAppBase.cpp
@@ -198,12 +198,12 @@ void FuseAppBase::fuseDestroy(void *)
}
struct fuse_args
-FuseAppBase::runint(int & argc, char** & argv, FuseAppBase * fa)
+FuseAppBase::runint(int & argc, char** & argv)
{
struct fuse_opt fuse_opts[] = {
{ NULL, 0, 0 }
};
- fuseApp = fa;
+ fuseApp = this;
struct fuse_args args = FUSE_ARGS_INIT(argc, argv);
if (fuse_opt_parse(&args, fuseApp, fuse_opts,
fuseCall<void *, const char *, int, struct fuse_args *>::helper<&FuseAppBase::opt_parse>) == -1) {