summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-04-02 23:00:40 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2020-04-02 23:00:40 +0100
commit677bf3635563602cbdcc38fece141dcb22f16d23 (patch)
treeb236a70ae88a79365550d87111f148604dcfeed5
parentRemove glacier.pid before and after runs of test (diff)
downloadnetfs-677bf3635563602cbdcc38fece141dcb22f16d23.tar.bz2
netfs-677bf3635563602cbdcc38fece141dcb22f16d23.tar.xz
netfs-677bf3635563602cbdcc38fece141dcb22f16d23.zip
Simplify instantiation of EntCaches
-rw-r--r--netfs/lib/entCache.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/netfs/lib/entCache.cpp b/netfs/lib/entCache.cpp
index 26d275b..6af0e24 100644
--- a/netfs/lib/entCache.cpp
+++ b/netfs/lib/entCache.cpp
@@ -115,13 +115,6 @@ Group::hasMember(uid_t u) const
return (members.find(u) != members.end());
}
-template std::shared_ptr<User> EntCache<User>::getEntry<std::string>(const std::string &) const;
-template std::shared_ptr<User> EntCache<User>::getEntry<uid_t>(const uid_t &) const;
-template void EntCache<User>::getName(const gid_t &, std::string *) const;
-template void EntCache<User>::getID(const std::string &, gid_t *) const;
-
-template std::shared_ptr<Group> EntCache<Group>::getEntry<std::string>(const std::string &) const;
-template std::shared_ptr<Group> EntCache<Group>::getEntry<gid_t>(const gid_t &) const;
-template void EntCache<Group>::getName(const gid_t &, std::string *) const;
-template void EntCache<Group>::getID(const std::string &, gid_t *) const;
+template class EntCache<User>;
+template class EntCache<Group>;