summaryrefslogtreecommitdiff
path: root/src/mongo/client/dbclientcursor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/client/dbclientcursor.h')
-rw-r--r--src/mongo/client/dbclientcursor.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mongo/client/dbclientcursor.h b/src/mongo/client/dbclientcursor.h
index 4dca614591f..6f125063b60 100644
--- a/src/mongo/client/dbclientcursor.h
+++ b/src/mongo/client/dbclientcursor.h
@@ -29,7 +29,6 @@
#pragma once
-#include <boost/noncopyable.hpp>
#include <stack>
#include "mongo/client/dbclientinterface.h"
@@ -44,7 +43,8 @@ namespace mongo {
/** for mock purposes only -- do not create variants of DBClientCursor, nor hang code here
@see DBClientMockCursor
*/
- class DBClientCursorInterface : boost::noncopyable {
+ class DBClientCursorInterface {
+ MONGO_DISALLOW_COPYING(DBClientCursorInterface);
public:
virtual ~DBClientCursorInterface() {}
virtual bool more() = 0;
@@ -204,7 +204,8 @@ namespace mongo {
void initLazy( bool isRetry = false );
bool initLazyFinish( bool& retry );
- class Batch : boost::noncopyable {
+ class Batch {
+ MONGO_DISALLOW_COPYING(Batch);
friend class DBClientCursor;
std::unique_ptr<Message> m;
int nReturned;