From bf4063d78eede7ecca6018441aadc67494a4b07c Mon Sep 17 00:00:00 2001 From: Pavel Emelyanov Date: Tue, 8 Sep 2020 21:33:21 +0300 Subject: [PATCH] row cache: Unfriend classes from each other Now cache_tracker, mutation_partition and rows_entry do not need to be friends. Signed-off-by: Pavel Emelyanov --- mutation_partition.hh | 3 --- 1 file changed, 3 deletions(-) diff --git a/mutation_partition.hh b/mutation_partition.hh index fcc6bb9124..14bf8952e5 100644 --- a/mutation_partition.hh +++ b/mutation_partition.hh @@ -1025,7 +1025,6 @@ class cache_tracker; class rows_entry { using lru_link_type = bi::list_member_hook>; - friend class cache_tracker; friend class size_calculator; intrusive_set_external_comparator_member_hook _link; clustering_key _key; @@ -1042,7 +1041,6 @@ class rows_entry { bool _last_dummy : 1; flags() : _before_ck(0), _after_ck(0), _continuous(true), _dummy(false), _last_dummy(false) { } } _flags{}; - friend class mutation_partition; public: using container_type = intrusive_set_external_comparator; using lru_type = bi::list