]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common: drop the unused get_comparator() from SharedLRU.
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Wed, 12 Sep 2018 21:08:50 +0000 (23:08 +0200)
committerKefu Chai <kchai@redhat.com>
Thu, 31 Jan 2019 12:46:07 +0000 (20:46 +0800)
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/common/shared_cache.hpp

index 481d5d6b46258f51bf47ee1b61bd940b5d00aaea..20914d6349c8178a3013f60b0f061d23a011c889 100644 (file)
@@ -142,10 +142,6 @@ public:
     weak_refs.insert(temp.begin(), temp.end());
   }
 
-  C get_comparator() {
-    return weak_refs.key_comp();
-  }
-
   void set_cct(CephContext *c) {
     cct = c;
   }