summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-01-04 01:12:26 -0500
committerAndrew Morrow <acm@mongodb.com>2015-01-05 18:27:02 -0500
commit99ce8f87a164d48fd899699bb678d456eaa1323a (patch)
tree71d43a7ace8e6039a2586881986b937ac87242d1 /src/mongo/dbtests
parentb118aa80968dd9e585f8f34b4599bbabefdf6a99 (diff)
downloadmongo-99ce8f87a164d48fd899699bb678d456eaa1323a.tar.gz
SERVER-13256 Scope iostream more narrowly
Diffstat (limited to 'src/mongo/dbtests')
-rw-r--r--src/mongo/dbtests/basictests.cpp2
-rw-r--r--src/mongo/dbtests/directclienttests.cpp2
-rw-r--r--src/mongo/dbtests/framework_options.cpp1
-rw-r--r--src/mongo/dbtests/framework_options_init.cpp2
-rw-r--r--src/mongo/dbtests/jsobjtests.cpp2
-rw-r--r--src/mongo/dbtests/jstests.cpp1
-rw-r--r--src/mongo/dbtests/matchertests.cpp2
-rw-r--r--src/mongo/dbtests/mmaptests.cpp1
-rw-r--r--src/mongo/dbtests/perftests.cpp1
-rw-r--r--src/mongo/dbtests/plan_ranking.cpp2
-rw-r--r--src/mongo/dbtests/querytests.cpp2
-rw-r--r--src/mongo/dbtests/threadedtests.cpp1
-rw-r--r--src/mongo/dbtests/updatetests.cpp2
13 files changed, 21 insertions, 0 deletions
diff --git a/src/mongo/dbtests/basictests.cpp b/src/mongo/dbtests/basictests.cpp
index 0072a78e785..dd5dbe40f10 100644
--- a/src/mongo/dbtests/basictests.cpp
+++ b/src/mongo/dbtests/basictests.cpp
@@ -31,6 +31,8 @@
#include "mongo/platform/basic.h"
+#include <iostream>
+
#include "mongo/db/operation_context_impl.h"
#include "mongo/dbtests/dbtests.h"
#include "mongo/util/base64.h"
diff --git a/src/mongo/dbtests/directclienttests.cpp b/src/mongo/dbtests/directclienttests.cpp
index 24b92269a55..5c12d77fce0 100644
--- a/src/mongo/dbtests/directclienttests.cpp
+++ b/src/mongo/dbtests/directclienttests.cpp
@@ -34,6 +34,8 @@
#include "mongo/pch.h"
#undef MONGO_PCH_WHITELISTED
+#include <iostream>
+
#include "mongo/db/db.h"
#include "mongo/db/dbdirectclient.h"
#include "mongo/db/json.h"
diff --git a/src/mongo/dbtests/framework_options.cpp b/src/mongo/dbtests/framework_options.cpp
index 75b0f18a24c..6a78ef0a5fa 100644
--- a/src/mongo/dbtests/framework_options.cpp
+++ b/src/mongo/dbtests/framework_options.cpp
@@ -31,6 +31,7 @@
#include "mongo/dbtests/framework_options.h"
#include <boost/filesystem/operations.hpp>
+#include <iostream>
#include "mongo/base/status.h"
#include "mongo/bson/util/builder.h"
diff --git a/src/mongo/dbtests/framework_options_init.cpp b/src/mongo/dbtests/framework_options_init.cpp
index 930c2050ded..d8d20e63445 100644
--- a/src/mongo/dbtests/framework_options_init.cpp
+++ b/src/mongo/dbtests/framework_options_init.cpp
@@ -28,6 +28,8 @@
#include "mongo/dbtests/framework_options.h"
+#include <iostream>
+
#include "mongo/util/options_parser/startup_option_init.h"
#include "mongo/util/options_parser/startup_options.h"
#include "mongo/util/quick_exit.h"
diff --git a/src/mongo/dbtests/jsobjtests.cpp b/src/mongo/dbtests/jsobjtests.cpp
index 2ca91a882de..eb441f45d72 100644
--- a/src/mongo/dbtests/jsobjtests.cpp
+++ b/src/mongo/dbtests/jsobjtests.cpp
@@ -36,6 +36,8 @@
#include "mongo/pch.h"
#undef MONGO_PCH_WHITELISTED
+#include <iostream>
+
#include "mongo/bson/util/builder.h"
#include "mongo/db/jsobj.h"
#include "mongo/db/json.h"
diff --git a/src/mongo/dbtests/jstests.cpp b/src/mongo/dbtests/jstests.cpp
index e9d1a345639..06b4c7f23d4 100644
--- a/src/mongo/dbtests/jstests.cpp
+++ b/src/mongo/dbtests/jstests.cpp
@@ -33,6 +33,7 @@
#include "mongo/platform/basic.h"
+#include <iostream>
#include <limits>
#include "mongo/base/parse_number.h"
diff --git a/src/mongo/dbtests/matchertests.cpp b/src/mongo/dbtests/matchertests.cpp
index 534bf5845b2..043f5f7688e 100644
--- a/src/mongo/dbtests/matchertests.cpp
+++ b/src/mongo/dbtests/matchertests.cpp
@@ -29,6 +29,8 @@
* then also delete it in the license file.
*/
+#include <iostream>
+
#include "mongo/db/json.h"
#include "mongo/db/matcher/matcher.h"
#include "mongo/db/operation_context_impl.h"
diff --git a/src/mongo/dbtests/mmaptests.cpp b/src/mongo/dbtests/mmaptests.cpp
index 8548b9817bc..acf31062877 100644
--- a/src/mongo/dbtests/mmaptests.cpp
+++ b/src/mongo/dbtests/mmaptests.cpp
@@ -31,6 +31,7 @@
#include "mongo/platform/basic.h"
#include <boost/filesystem/operations.hpp>
+#include <iostream>
#include "mongo/db/concurrency/lock_state.h"
#include "mongo/db/global_environment_experiment.h"
diff --git a/src/mongo/dbtests/perftests.cpp b/src/mongo/dbtests/perftests.cpp
index f8ada7b6a6c..2c4fb8d64e5 100644
--- a/src/mongo/dbtests/perftests.cpp
+++ b/src/mongo/dbtests/perftests.cpp
@@ -42,6 +42,7 @@
#include <boost/thread/thread.hpp>
#include <boost/version.hpp>
#include <iomanip>
+#include <iostream>
#include <fstream>
#include "mongo/db/db.h"
diff --git a/src/mongo/dbtests/plan_ranking.cpp b/src/mongo/dbtests/plan_ranking.cpp
index 0680d1c4889..c10ba98d2dd 100644
--- a/src/mongo/dbtests/plan_ranking.cpp
+++ b/src/mongo/dbtests/plan_ranking.cpp
@@ -30,6 +30,8 @@
* This file tests db/query/plan_ranker.cpp and db/query/multi_plan_runner.cpp.
*/
+#include <iostream>
+
#include "mongo/client/dbclientcursor.h"
#include "mongo/db/catalog/collection.h"
#include "mongo/db/catalog/database.h"
diff --git a/src/mongo/dbtests/querytests.cpp b/src/mongo/dbtests/querytests.cpp
index 657a0b03b52..dfbb8970acb 100644
--- a/src/mongo/dbtests/querytests.cpp
+++ b/src/mongo/dbtests/querytests.cpp
@@ -30,6 +30,8 @@
#include "mongo/platform/basic.h"
+#include <iostream>
+
#include "mongo/client/dbclientcursor.h"
#include "mongo/db/clientcursor.h"
#include "mongo/db/dbdirectclient.h"
diff --git a/src/mongo/dbtests/threadedtests.cpp b/src/mongo/dbtests/threadedtests.cpp
index a3f746f2ca5..b952dd41f11 100644
--- a/src/mongo/dbtests/threadedtests.cpp
+++ b/src/mongo/dbtests/threadedtests.cpp
@@ -35,6 +35,7 @@
#include <boost/thread.hpp>
#include <boost/version.hpp>
+#include <iostream>
#include "mongo/db/concurrency/d_concurrency.h"
#include "mongo/db/concurrency/lock_state.h"
diff --git a/src/mongo/dbtests/updatetests.cpp b/src/mongo/dbtests/updatetests.cpp
index 2b7ede0607b..04968f6be05 100644
--- a/src/mongo/dbtests/updatetests.cpp
+++ b/src/mongo/dbtests/updatetests.cpp
@@ -34,6 +34,8 @@
#include "mongo/pch.h"
#undef MONGO_PCH_WHITELISTED
+#include <iostream>
+
#include "mongo/bson/mutable/mutable_bson_test_utils.h"
#include "mongo/client/dbclientcursor.h"
#include "mongo/db/db.h"