summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops/modifier_rename.h
diff options
context:
space:
mode:
authorAndrew Morrow <acm@10gen.com>2013-07-16 19:53:43 -0400
committerAndrew Morrow <acm@10gen.com>2013-07-19 12:03:57 -0400
commit23170882979115ad884818ea765047382d8ecf65 (patch)
tree6952e93211172a3673d9b3935ea4a710916ad060 /src/mongo/db/ops/modifier_rename.h
parent228ad77a39a471b323095691dbbe1a9fd7150f38 (diff)
downloadmongo-23170882979115ad884818ea765047382d8ecf65.tar.gz
SERVER-10162 Generate properly grouped oplog update components in new update framework
Diffstat (limited to 'src/mongo/db/ops/modifier_rename.h')
-rw-r--r--src/mongo/db/ops/modifier_rename.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/ops/modifier_rename.h b/src/mongo/db/ops/modifier_rename.h
index ff6dad0fa1a..9a80f0ae0f2 100644
--- a/src/mongo/db/ops/modifier_rename.h
+++ b/src/mongo/db/ops/modifier_rename.h
@@ -27,6 +27,8 @@
namespace mongo {
+ class LogBuilder;
+
/**
* The $rename modifier moves the field from source to the destination to perform
* the rename.
@@ -68,7 +70,7 @@ namespace mongo {
* For the oplog entry we will generate an $unset on the 'from' field, and $set for
* the 'to' field. If no 'from' element is found then function will return immediately.
*/
- virtual Status log(mutablebson::Element logRoot) const;
+ virtual Status log(LogBuilder* logBuilder) const;
private: