summaryrefslogtreecommitdiff
path: root/src/mongo/db/cloner.h
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2014-07-24 15:19:57 -0400
committerEliot Horowitz <eliot@10gen.com>2014-07-28 08:43:19 -0400
commite28e721d7e9a4f08126f4e1b983bbf73cbe7aec7 (patch)
tree0a72f946a757c2252bd7738d7ccae48cef4e1348 /src/mongo/db/cloner.h
parent0777e69dbc961d16e7d74daeb6b49fc82718c313 (diff)
downloadmongo-e28e721d7e9a4f08126f4e1b983bbf73cbe7aec7.tar.gz
SERVER-14378: Cloner shouldn't use system.namespaces
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,