summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops/update.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/ops/update.h')
-rw-r--r--src/mongo/db/ops/update.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/ops/update.h b/src/mongo/db/ops/update.h
index 5b7f0a4e324..8555401cde9 100644
--- a/src/mongo/db/ops/update.h
+++ b/src/mongo/db/ops/update.h
@@ -56,5 +56,7 @@ UpdateResult update(OperationContext* opCtx, Database* db, const UpdateRequest&
* applyUpdateOperators( BSON( "x" << 1 ) , BSON( "$inc" << BSON( "x" << 1 ) ) );
* returns: { x : 2 }
*/
-BSONObj applyUpdateOperators(const BSONObj& from, const BSONObj& operators);
+BSONObj applyUpdateOperators(OperationContext* opCtx,
+ const BSONObj& from,
+ const BSONObj& operators);
} // namespace mongo