summaryrefslogtreecommitdiff
path: root/src/mongo/db/clientcursor.h
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-06-15 14:54:26 -0400
committerAndrew Morrow <acm@mongodb.com>2015-06-16 16:31:58 -0400
commit22dd61cfe60e05b13f9bb92aee3cb4660392435b (patch)
tree2046de28fe9e566dd9b1c023c9feec88385e480d /src/mongo/db/clientcursor.h
parentbe88e42ef819aeb76b8625e646adf67626844c25 (diff)
downloadmongo-22dd61cfe60e05b13f9bb92aee3cb4660392435b.tar.gz
SERVER-18991 Replace all usages of boost::noncopyable with MONGO_DISALLOW_COPYING
Diffstat (limited to 'src/mongo/db/clientcursor.h')
-rw-r--r--src/mongo/db/clientcursor.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/db/clientcursor.h b/src/mongo/db/clientcursor.h
index 4e81a39d7ba..d2482ffbfa9 100644
--- a/src/mongo/db/clientcursor.h
+++ b/src/mongo/db/clientcursor.h
@@ -28,8 +28,6 @@
#pragma once
-#include <boost/noncopyable.hpp>
-
#include "mongo/db/jsobj.h"
#include "mongo/db/query/plan_executor.h"
#include "mongo/db/record_id.h"
@@ -50,7 +48,8 @@ namespace mongo {
* ClientCursor is a wrapper that represents a cursorid from our database application's
* perspective.
*/
- class ClientCursor : private boost::noncopyable {
+ class ClientCursor {
+ MONGO_DISALLOW_COPYING(ClientCursor);
public:
/**
* This ClientCursor constructor creates a cursorid that can be used with getMore and