summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/fsync.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/fsync.cpp')
-rw-r--r--src/mongo/db/commands/fsync.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/fsync.cpp b/src/mongo/db/commands/fsync.cpp
index 1a9b7628503..5359963d381 100644
--- a/src/mongo/db/commands/fsync.cpp
+++ b/src/mongo/db/commands/fsync.cpp
@@ -119,7 +119,7 @@ public:
}
virtual bool run(OperationContext* opCtx,
const string& dbname,
- BSONObj& cmdObj,
+ const BSONObj& cmdObj,
string& errmsg,
BSONObjBuilder& result) {
if (opCtx->lockState()->isLocked()) {
@@ -292,7 +292,7 @@ public:
bool run(OperationContext* opCtx,
const std::string& db,
- BSONObj& cmdObj,
+ const BSONObj& cmdObj,
std::string& errmsg,
BSONObjBuilder& result) override {
log() << "command: unlock requested";