delete copy constructor and operator assign for most classes

This commit is contained in:
Chunting Gu
2021-06-15 18:52:53 +08:00
parent b76ce67726
commit 751a3539ae
8 changed files with 25 additions and 6 deletions
+3
View File
@@ -44,6 +44,9 @@ public:
public:
ClientPool() = default;
ClientPool(const ClientPool&) = delete;
ClientPool& operator=(const ClientPool&) = delete;
~ClientPool();
ClientPtr Get(const Key& key) const;