summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/parallel_collection_scan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/parallel_collection_scan.cpp')
-rw-r--r--src/mongo/db/commands/parallel_collection_scan.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/commands/parallel_collection_scan.cpp b/src/mongo/db/commands/parallel_collection_scan.cpp
index 425d5eb8791..2dfe8fdf614 100644
--- a/src/mongo/db/commands/parallel_collection_scan.cpp
+++ b/src/mongo/db/commands/parallel_collection_scan.cpp
@@ -28,6 +28,7 @@
#include "mongo/platform/basic.h"
+#include "mongo/base/checked_cast.h"
#include "mongo/db/auth/authorization_session.h"
#include "mongo/db/catalog/collection.h"
#include "mongo/db/catalog/database.h"
@@ -38,7 +39,6 @@
#include "mongo/db/query/cursor_response.h"
#include "mongo/db/service_context.h"
#include "mongo/stdx/memory.h"
-#include "mongo/base/checked_cast.h"
namespace mongo {
@@ -103,7 +103,8 @@ public:
Status(ErrorCodes::BadValue,
str::stream()
<< "numCursors has to be between 1 and 10000"
- << " was: " << numCursors));
+ << " was: "
+ << numCursors));
auto iterators = collection->getManyCursors(txn);
if (iterators.size() < numCursors) {