diff options
Diffstat (limited to 'src/mongo/client/connpool.h')
-rw-r--r-- | src/mongo/client/connpool.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/client/connpool.h b/src/mongo/client/connpool.h index 1c6728d3352..fd0204dd46a 100644 --- a/src/mongo/client/connpool.h +++ b/src/mongo/client/connpool.h @@ -29,7 +29,6 @@ #pragma once -#include <boost/noncopyable.hpp> #include <stack> #include "mongo/client/dbclientinterface.h" @@ -266,7 +265,8 @@ namespace mongo { }; - class AScopedConnection : boost::noncopyable { + class AScopedConnection { + MONGO_DISALLOW_COPYING(AScopedConnection); public: AScopedConnection() { _numConnections.fetchAndAdd(1); } virtual ~AScopedConnection() { _numConnections.fetchAndAdd(-1); } |