summaryrefslogtreecommitdiff
path: root/src/mongo/idl/idl_parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/idl/idl_parser.h')
-rw-r--r--src/mongo/idl/idl_parser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/idl/idl_parser.h b/src/mongo/idl/idl_parser.h
index d13b6b62052..b250c22f551 100644
--- a/src/mongo/idl/idl_parser.h
+++ b/src/mongo/idl/idl_parser.h
@@ -32,7 +32,6 @@
#include <string>
#include <vector>
-#include "mongo/base/disallow_copying.h"
#include "mongo/base/string_data.h"
#include "mongo/bson/bsonelement.h"
#include "mongo/bson/bsontypes.h"
@@ -51,7 +50,8 @@ namespace mongo {
* and provide utility methods like checking a BSON type or set of BSON types.
*/
class IDLParserErrorContext {
- MONGO_DISALLOW_COPYING(IDLParserErrorContext);
+ IDLParserErrorContext(const IDLParserErrorContext&) = delete;
+ IDLParserErrorContext& operator=(const IDLParserErrorContext&) = delete;
template <typename T>
friend void throwComparisonError(IDLParserErrorContext& ctxt,