summaryrefslogtreecommitdiff
path: root/src/mongo/db/background.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/background.cpp')
-rw-r--r--src/mongo/db/background.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/background.cpp b/src/mongo/db/background.cpp
index 156955134ce..78d10eda93e 100644
--- a/src/mongo/db/background.cpp
+++ b/src/mongo/db/background.cpp
@@ -39,7 +39,7 @@
#include "mongo/stdx/thread.h"
#include "mongo/util/assert_util.h"
#include "mongo/util/map_util.h"
-#include "mongo/util/mongoutils/str.h"
+#include "mongo/util/str.h"
#include "mongo/util/string_map.h"
namespace mongo {
@@ -139,7 +139,7 @@ bool BackgroundOperation::inProgForNs(StringData ns) {
void BackgroundOperation::assertNoBgOpInProg() {
for (auto& db : dbsInProg) {
uassert(ErrorCodes::BackgroundOperationInProgressForDatabase,
- mongoutils::str::stream()
+ str::stream()
<< "cannot perform operation: a background operation is currently running for "
"database "
<< db.first,
@@ -149,7 +149,7 @@ void BackgroundOperation::assertNoBgOpInProg() {
void BackgroundOperation::assertNoBgOpInProgForDb(StringData db) {
uassert(ErrorCodes::BackgroundOperationInProgressForDatabase,
- mongoutils::str::stream()
+ str::stream()
<< "cannot perform operation: a background operation is currently running for "
"database "
<< db,
@@ -158,7 +158,7 @@ void BackgroundOperation::assertNoBgOpInProgForDb(StringData db) {
void BackgroundOperation::assertNoBgOpInProgForNs(StringData ns) {
uassert(ErrorCodes::BackgroundOperationInProgressForNamespace,
- mongoutils::str::stream()
+ str::stream()
<< "cannot perform operation: a background operation is currently running for "
"collection "
<< ns,