summaryrefslogtreecommitdiff
path: root/libfusepp/fuseAppBase.h
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.h
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.h')
-rw-r--r--libfusepp/fuseAppBase.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libfusepp/fuseAppBase.h b/libfusepp/fuseAppBase.h
index 4b56f2f..73a809a 100644
--- a/libfusepp/fuseAppBase.h
+++ b/libfusepp/fuseAppBase.h
@@ -62,7 +62,7 @@ class FuseAppBase {
template <typename FuseApp>
static int run(int & argc, char** & argv, FuseApp * fa)
{
- auto args = fa->runint(argc, argv, fa);
+ auto args = fa->runint(argc, argv);
struct fuse_operations operations = {
fuseCall<const char *, struct stat *>::GetHelper(getattr),
fuseCall<const char *, char *, size_t>::GetHelper(readlink),
@@ -123,7 +123,7 @@ class FuseAppBase {
};
return fuse_main(args.argc, args.argv, &operations, fa);
}
- struct fuse_args runint(int &, char ** &, FuseAppBase *);
+ struct fuse_args runint(int &, char ** &);
private:
static void * fuseInit(struct fuse_conn_info *conn);