service: make enable_shared_from_this inheritance public

Without being public, making shared pointer from the service level
accessor is not accessible outside of the class.
This commit is contained in:
Piotr Sarna
2021-01-08 11:14:58 +01:00
parent c7f66d6fdd
commit 3626bc253d

View File

@@ -30,7 +30,7 @@ namespace db {
}
namespace qos {
class standard_service_level_distributed_data_accessor : public service_level_controller::service_level_distributed_data_accessor,
::enable_shared_from_this<standard_service_level_distributed_data_accessor> {
public ::enable_shared_from_this<standard_service_level_distributed_data_accessor> {
private:
db::system_distributed_keyspace& _sys_dist_ks;
public: