summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/kv/kv_catalog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/storage/kv/kv_catalog.cpp')
-rw-r--r--src/mongo/db/storage/kv/kv_catalog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/storage/kv/kv_catalog.cpp b/src/mongo/db/storage/kv/kv_catalog.cpp
index 86ff663d7c1..85ed6c7f26b 100644
--- a/src/mongo/db/storage/kv/kv_catalog.cpp
+++ b/src/mongo/db/storage/kv/kv_catalog.cpp
@@ -139,7 +139,7 @@ public:
AddIdentChange(KVCatalog* catalog, StringData ident)
: _catalog(catalog), _ident(ident.toString()) {}
- virtual void commit() {}
+ virtual void commit(boost::optional<Timestamp>) {}
virtual void rollback() {
stdx::lock_guard<stdx::mutex> lk(_catalog->_identsLock);
_catalog->_idents.erase(_ident);
@@ -154,7 +154,7 @@ public:
RemoveIdentChange(KVCatalog* catalog, StringData ident, const Entry& entry)
: _catalog(catalog), _ident(ident.toString()), _entry(entry) {}
- virtual void commit() {}
+ virtual void commit(boost::optional<Timestamp>) {}
virtual void rollback() {
stdx::lock_guard<stdx::mutex> lk(_catalog->_identsLock);
_catalog->_idents[_ident] = _entry;