summaryrefslogtreecommitdiff
path: root/src/mongo/db/cloner.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/cloner.h')
-rw-r--r--src/mongo/db/cloner.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/cloner.h b/src/mongo/db/cloner.h
index f30429ca99f..bf66b51e688 100644
--- a/src/mongo/db/cloner.h
+++ b/src/mongo/db/cloner.h
@@ -52,7 +52,7 @@ namespace mongo {
/** copy the entire database */
bool go(OperationContext* txn,
- Client::Context& ctx,
+ const std::string& toDBName,
const std::string& masterHost,
const CloneOptions& opts,
std::set<std::string>* clonedColls,
@@ -70,7 +70,7 @@ namespace mongo {
private:
void copy(OperationContext* txn,
- Client::Context& ctx,
+ const std::string& toDBName,
const char *from_ns,
const char *to_ns,
bool isindex,