summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/index_catalog_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/index_catalog_impl.cpp')
-rw-r--r--src/mongo/db/catalog/index_catalog_impl.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/db/catalog/index_catalog_impl.cpp b/src/mongo/db/catalog/index_catalog_impl.cpp
index d9895b5aba1..e56face0b9b 100644
--- a/src/mongo/db/catalog/index_catalog_impl.cpp
+++ b/src/mongo/db/catalog/index_catalog_impl.cpp
@@ -68,8 +68,8 @@
#include "mongo/db/storage/storage_engine_init.h"
#include "mongo/util/assert_util.h"
#include "mongo/util/log.h"
-#include "mongo/util/mongoutils/str.h"
#include "mongo/util/represent_as.h"
+#include "mongo/util/str.h"
namespace mongo {
@@ -742,8 +742,7 @@ void IndexCatalogImpl::dropAllIndexes(OperationContext* opCtx,
invariant(opCtx->lockState()->isCollectionLockedForMode(_collection->ns(), MODE_X));
uassert(ErrorCodes::BackgroundOperationInProgressForNamespace,
- mongoutils::str::stream()
- << "cannot perform operation: an index build is currently running",
+ str::stream() << "cannot perform operation: an index build is currently running",
!haveAnyIndexesInProgress());
// make sure nothing in progress