summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/query_solution.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/query_solution.h')
-rw-r--r--src/mongo/db/query/query_solution.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/query/query_solution.h b/src/mongo/db/query/query_solution.h
index 7bff63bf725..04e6cd6d997 100644
--- a/src/mongo/db/query/query_solution.h
+++ b/src/mongo/db/query/query_solution.h
@@ -188,7 +188,8 @@ protected:
void addCommon(mongoutils::str::stream* ss, int indent) const;
private:
- MONGO_DISALLOW_COPYING(QuerySolutionNode);
+ QuerySolutionNode(const QuerySolutionNode&) = delete;
+ QuerySolutionNode& operator=(const QuerySolutionNode&) = delete;
};
/**
@@ -238,7 +239,8 @@ struct QuerySolution {
}
private:
- MONGO_DISALLOW_COPYING(QuerySolution);
+ QuerySolution(const QuerySolution&) = delete;
+ QuerySolution& operator=(const QuerySolution&) = delete;
};
struct TextNode : public QuerySolutionNode {