Commit 8368bfce authored by caidaojin's avatar caidaojin

fix build failure

parent 95d61d72
...@@ -35,7 +35,7 @@ class ReplicaPolicy { ...@@ -35,7 +35,7 @@ class ReplicaPolicy {
public: public:
ReplicaPolicy() : _hash_func(nullptr) {} ReplicaPolicy() : _hash_func(nullptr) {}
ReplicaPolicy(HashFunc hash) : _hash_func(hash) {} ReplicaPolicy(HashFunc hash) : _hash_func(hash) {}
virtual ~ReplicaPolicy(); virtual ~ReplicaPolicy() = default;
virtual bool Build(ServerId server, virtual bool Build(ServerId server,
size_t num_replicas, size_t num_replicas,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment