From ecba37dbfd4d232e8bd4e122cec6d0d44b6cd33a Mon Sep 17 00:00:00 2001 From: Benny Halevy Date: Wed, 17 Nov 2021 10:09:34 +0200 Subject: [PATCH] effective_replication_map: enable_lw_shared_from_this So a effective_replication_map_ptr can be generated using a raw pointer by effective_replication_map_factory. Signed-off-by: Benny Halevy --- locator/abstract_replication_strategy.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locator/abstract_replication_strategy.hh b/locator/abstract_replication_strategy.hh index e9dbfd5c62..8d7bd4366d 100644 --- a/locator/abstract_replication_strategy.hh +++ b/locator/abstract_replication_strategy.hh @@ -136,7 +136,7 @@ public: // Holds the full replication_map resulting from applying the // effective replication strategy over the given token_metadata // and replication_strategy_config_options. -class effective_replication_map { +class effective_replication_map : public enable_lw_shared_from_this { public: struct factory_key { replication_strategy_type rs_type;