summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/current_op.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/current_op.cpp')
-rw-r--r--src/mongo/db/commands/current_op.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/commands/current_op.cpp b/src/mongo/db/commands/current_op.cpp
index 6a9d12f3c1c..247a2a6761c 100644
--- a/src/mongo/db/commands/current_op.cpp
+++ b/src/mongo/db/commands/current_op.cpp
@@ -42,7 +42,8 @@
namespace mongo {
class CurrentOpCommand final : public CurrentOpCommandBase {
- MONGO_DISALLOW_COPYING(CurrentOpCommand);
+ CurrentOpCommand(const CurrentOpCommand&) = delete;
+ CurrentOpCommand& operator=(const CurrentOpCommand&) = delete;
public:
CurrentOpCommand() = default;