summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/mr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/mr.cpp')
-rw-r--r--src/mongo/db/commands/mr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/mr.cpp b/src/mongo/db/commands/mr.cpp
index 3a0d2aa048e..cae4ca7b97b 100644
--- a/src/mongo/db/commands/mr.cpp
+++ b/src/mongo/db/commands/mr.cpp
@@ -901,7 +901,7 @@ namespace mongo {
_config.reducer->numReduces = _scope->getNumberInt("_redCt");
}
- Collection* State::getCollectionOrUassert(Database* db, const StringData& ns) {
+ Collection* State::getCollectionOrUassert(Database* db, StringData ns) {
Collection* out = db ? db->getCollection(ns) : NULL;
uassert(18697, "Collection unexpectedly disappeared: " + ns.toString(),
out);