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 bf66b51e688..76d187c695d 100644
--- a/src/mongo/db/cloner.h
+++ b/src/mongo/db/cloner.h
@@ -71,8 +71,8 @@ namespace mongo {
private:
void copy(OperationContext* txn,
const std::string& toDBName,
- const char *from_ns,
- const char *to_ns,
+ const NamespaceString& from_ns,
+ const NamespaceString& to_ns,
bool isindex,
bool logForRepl,
bool masterSameProcess,