From 8cbbba49935f632e876037f9f2d9eecc779eb96a Mon Sep 17 00:00:00 2001 From: Geert Bosch Date: Wed, 17 Apr 2019 16:18:22 -0400 Subject: SERVER-40724 Change namespace arguments to use NamespaceString --- src/mongo/db/dbhelpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mongo/db/dbhelpers.cpp') diff --git a/src/mongo/db/dbhelpers.cpp b/src/mongo/db/dbhelpers.cpp index ea7280d114e..5a4abebd032 100644 --- a/src/mongo/db/dbhelpers.cpp +++ b/src/mongo/db/dbhelpers.cpp @@ -138,7 +138,7 @@ bool Helpers::findById(OperationContext* opCtx, bool* indexFound) { invariant(database); - Collection* collection = database->getCollection(opCtx, ns); + Collection* collection = database->getCollection(opCtx, NamespaceString(ns)); if (!collection) { return false; } -- cgit v1.2.1