summaryrefslogtreecommitdiff
path: root/src/mongo/db/clientcursor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/clientcursor.h')
-rw-r--r--src/mongo/db/clientcursor.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/clientcursor.h b/src/mongo/db/clientcursor.h
index 56394e8fc0b..92f51255ed5 100644
--- a/src/mongo/db/clientcursor.h
+++ b/src/mongo/db/clientcursor.h
@@ -137,7 +137,8 @@ struct ClientCursorParams {
* of inactivity.
*/
class ClientCursor {
- MONGO_DISALLOW_COPYING(ClientCursor);
+ ClientCursor(const ClientCursor&) = delete;
+ ClientCursor& operator=(const ClientCursor&) = delete;
public:
CursorId cursorid() const {
@@ -456,7 +457,8 @@ private:
* policy.
*/
class ClientCursorPin {
- MONGO_DISALLOW_COPYING(ClientCursorPin);
+ ClientCursorPin(const ClientCursorPin&) = delete;
+ ClientCursorPin& operator=(const ClientCursorPin&) = delete;
public:
/**