From b701f8f3e958974acc75e04fcfb76d25fab3f331 Mon Sep 17 00:00:00 2001 From: Radoslaw Zarzynski Date: Wed, 12 Sep 2018 23:08:50 +0200 Subject: [PATCH] common: drop the unused get_comparator() from SharedLRU. Signed-off-by: Radoslaw Zarzynski --- src/common/shared_cache.hpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/common/shared_cache.hpp b/src/common/shared_cache.hpp index 481d5d6b46258..20914d6349c81 100644 --- a/src/common/shared_cache.hpp +++ b/src/common/shared_cache.hpp @@ -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; } -- 2.39.5