summaryrefslogtreecommitdiff
path: root/netfs/fuse
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-09-16 00:09:40 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2020-09-16 00:09:40 +0100
commit3a43c8b0f26280b55e15f40122c86ed17222c0c7 (patch)
treeda5ace4d759bc14a5b5836710365dfec2c1a718c /netfs/fuse
parentTest EntCache basics for User and Group (diff)
downloadnetfs-3a43c8b0f26280b55e15f40122c86ed17222c0c7.tar.bz2
netfs-3a43c8b0f26280b55e15f40122c86ed17222c0c7.tar.xz
netfs-3a43c8b0f26280b55e15f40122c86ed17222c0c7.zip
Concrete entcache types
Allows specific constructor for group cache that takes a user cache
Diffstat (limited to 'netfs/fuse')
-rw-r--r--netfs/fuse/fuseMappersImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/netfs/fuse/fuseMappersImpl.cpp b/netfs/fuse/fuseMappersImpl.cpp
index 9a99eca..9e82b74 100644
--- a/netfs/fuse/fuseMappersImpl.cpp
+++ b/netfs/fuse/fuseMappersImpl.cpp
@@ -3,7 +3,7 @@
namespace NetFS::Client {
HideUnknownMapperImpl::HideUnknownMapperImpl() :
- HideUnknownMapperImpl(std::make_shared<EntCache<User>>(), std::make_shared<EntCache<Group>>())
+ users(std::make_shared<UserEntCache>()), groups(std::make_shared<GroupEntCache>(users))
{
}