diff options
Diffstat (limited to 'src/mongo/s/query/owned_remote_cursor.h')
-rw-r--r-- | src/mongo/s/query/owned_remote_cursor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/s/query/owned_remote_cursor.h b/src/mongo/s/query/owned_remote_cursor.h index 540e2173abc..473196e4de5 100644 --- a/src/mongo/s/query/owned_remote_cursor.h +++ b/src/mongo/s/query/owned_remote_cursor.h @@ -42,7 +42,8 @@ namespace mongo { */ class OwnedRemoteCursor { public: - MONGO_DISALLOW_COPYING(OwnedRemoteCursor); + OwnedRemoteCursor(const OwnedRemoteCursor&) = delete; + OwnedRemoteCursor& operator=(const OwnedRemoteCursor&) = delete; OwnedRemoteCursor(OperationContext* opCtx, RemoteCursor&& cursor, NamespaceString nss) : _opCtx(opCtx), _remoteCursor(std::move(cursor)), _nss(std::move(nss)) {} |