diff options
Diffstat (limited to 'src/mongo/db/update/modifier_table.h')
-rw-r--r-- | src/mongo/db/update/modifier_table.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mongo/db/update/modifier_table.h b/src/mongo/db/update/modifier_table.h index 048c58b4fb8..86b43620586 100644 --- a/src/mongo/db/update/modifier_table.h +++ b/src/mongo/db/update/modifier_table.h @@ -28,7 +28,6 @@ #pragma once -#include "mongo/db/ops/modifier_interface.h" #include "mongo/db/update/update_leaf_node.h" namespace mongo { @@ -62,12 +61,6 @@ enum ModifierType { ModifierType getType(StringData typeStr); /** - * Instantiate an update mod that corresponds to 'modType' or NULL if 'modType' is not - * valid. The ownership of the new object is the caller's. - */ -ModifierInterface* makeUpdateMod(ModifierType modType); - -/** * Instantiate an UpdateLeafNode that corresponds to 'modType' or nullptr if 'modType' is not valid. */ std::unique_ptr<UpdateLeafNode> makeUpdateLeafNode(ModifierType modType); |