diff options
Diffstat (limited to 'src/mongo/executor/connection_pool_tl.h')
-rw-r--r-- | src/mongo/executor/connection_pool_tl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/executor/connection_pool_tl.h b/src/mongo/executor/connection_pool_tl.h index d553156a50a..17f000ffaeb 100644 --- a/src/mongo/executor/connection_pool_tl.h +++ b/src/mongo/executor/connection_pool_tl.h @@ -77,7 +77,8 @@ private: class TLTypeFactory::Type : public std::enable_shared_from_this<TLTypeFactory::Type> { friend class TLTypeFactory; - MONGO_DISALLOW_COPYING(Type); + Type(const Type&) = delete; + Type& operator=(const Type&) = delete; public: explicit Type(const std::shared_ptr<TLTypeFactory>& factory); |