From 677bf3635563602cbdcc38fece141dcb22f16d23 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 2 Apr 2020 23:00:40 +0100 Subject: Simplify instantiation of EntCaches --- netfs/lib/entCache.cpp | 11 ++--------- 1 file 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 EntCache::getEntry(const std::string &) const; -template std::shared_ptr EntCache::getEntry(const uid_t &) const; -template void EntCache::getName(const gid_t &, std::string *) const; -template void EntCache::getID(const std::string &, gid_t *) const; - -template std::shared_ptr EntCache::getEntry(const std::string &) const; -template std::shared_ptr EntCache::getEntry(const gid_t &) const; -template void EntCache::getName(const gid_t &, std::string *) const; -template void EntCache::getID(const std::string &, gid_t *) const; +template class EntCache; +template class EntCache; -- cgit v1.2.3