diff options
author | Eliot Horowitz <eliot@10gen.com> | 2012-01-05 17:50:50 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2012-01-05 17:58:21 -0500 |
commit | cf1214ab7f2d63daccd16763d71eb9cca66c3e7a (patch) | |
tree | 4b57d58148e2f250f9594ab9cc6162eb8c4db131 /src | |
parent | 89b06c2a1c3fe2b97f4ee5cd91a69e75d90a4934 (diff) | |
download | mongo-cf1214ab7f2d63daccd16763d71eb9cca66c3e7a.tar.gz |
remove fstream from pch.h
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/client/dbclient_rs.cpp | 1 | ||||
-rw-r--r-- | src/mongo/client/gridfs.cpp | 1 | ||||
-rw-r--r-- | src/mongo/db/cmdline.cpp | 1 | ||||
-rw-r--r-- | src/mongo/db/db.cpp | 1 | ||||
-rw-r--r-- | src/mongo/db/dbhelpers.cpp | 2 | ||||
-rw-r--r-- | src/mongo/db/extsort.cpp | 1 | ||||
-rw-r--r-- | src/mongo/db/nonce.cpp | 1 | ||||
-rw-r--r-- | src/mongo/pch.h | 2 | ||||
-rw-r--r-- | src/mongo/shell/shell_utils.cpp | 1 | ||||
-rw-r--r-- | src/mongo/tools/dump.cpp | 1 | ||||
-rw-r--r-- | src/mongo/tools/restore.cpp | 1 | ||||
-rw-r--r-- | src/mongo/tools/tool.cpp | 1 | ||||
-rw-r--r-- | src/mongo/util/processinfo.cpp | 2 | ||||
-rw-r--r-- | src/mongo/util/version.cpp | 1 |
14 files changed, 15 insertions, 2 deletions
diff --git a/src/mongo/client/dbclient_rs.cpp b/src/mongo/client/dbclient_rs.cpp index e3c7f359319..96a3a71164d 100644 --- a/src/mongo/client/dbclient_rs.cpp +++ b/src/mongo/client/dbclient_rs.cpp @@ -25,6 +25,7 @@ #include "dbclient_rs.h" #include "../util/background.h" #include "../util/timer.h" +#include <fstream> namespace mongo { diff --git a/src/mongo/client/gridfs.cpp b/src/mongo/client/gridfs.cpp index 4e38ab91ac2..7dcb1d5bcb1 100644 --- a/src/mongo/client/gridfs.cpp +++ b/src/mongo/client/gridfs.cpp @@ -18,6 +18,7 @@ #include "pch.h" #include <fcntl.h> #include <utility> +#include <fstream> #include "gridfs.h" #include <boost/smart_ptr.hpp> diff --git a/src/mongo/db/cmdline.cpp b/src/mongo/db/cmdline.cpp index 27c47835f25..9aded403274 100644 --- a/src/mongo/db/cmdline.cpp +++ b/src/mongo/db/cmdline.cpp @@ -33,6 +33,7 @@ #define MAX_LINE_LENGTH 256 +#include <fstream> #include <boost/filesystem/operations.hpp> namespace po = boost::program_options; diff --git a/src/mongo/db/db.cpp b/src/mongo/db/db.cpp index bb182bdc971..48104a77bc7 100644 --- a/src/mongo/db/db.cpp +++ b/src/mongo/db/db.cpp @@ -52,6 +52,7 @@ # include <sys/file.h> #endif +#include <fstream> #include <boost/filesystem/operations.hpp> namespace mongo { diff --git a/src/mongo/db/dbhelpers.cpp b/src/mongo/db/dbhelpers.cpp index 90b64230c89..141b9f9ba2f 100644 --- a/src/mongo/db/dbhelpers.cpp +++ b/src/mongo/db/dbhelpers.cpp @@ -27,6 +27,8 @@ #include "ops/update.h" #include "ops/delete.h" +#include <fstream> + #include <boost/filesystem/convenience.hpp> #include <boost/filesystem/operations.hpp> diff --git a/src/mongo/db/extsort.cpp b/src/mongo/db/extsort.cpp index 56a37f63817..1aecc612d35 100644 --- a/src/mongo/db/extsort.cpp +++ b/src/mongo/db/extsort.cpp @@ -24,6 +24,7 @@ #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> +#include <fstream> #include <boost/filesystem/convenience.hpp> #include <boost/filesystem/operations.hpp> diff --git a/src/mongo/db/nonce.cpp b/src/mongo/db/nonce.cpp index 379e88f116d..9f89ee26c00 100644 --- a/src/mongo/db/nonce.cpp +++ b/src/mongo/db/nonce.cpp @@ -18,6 +18,7 @@ #include "pch.h" #include "nonce.h" #include "../util/time_support.h" +#include <fstream> extern int do_md5_test(void); diff --git a/src/mongo/pch.h b/src/mongo/pch.h index a3ff202ede0..77ed2bda2a2 100644 --- a/src/mongo/pch.h +++ b/src/mongo/pch.h @@ -68,13 +68,11 @@ #include <memory> #include <string> #include <iostream> -#include <fstream> #include <map> #include <vector> #include <set> #include <stdio.h> #include <stdlib.h> -#include <sstream> #include <signal.h> #include "targetver.h" #include "time.h" diff --git a/src/mongo/shell/shell_utils.cpp b/src/mongo/shell/shell_utils.cpp index 35f4f19641f..8b96f892b14 100644 --- a/src/mongo/shell/shell_utils.cpp +++ b/src/mongo/shell/shell_utils.cpp @@ -28,6 +28,7 @@ #include <iostream> #include <map> #include <sstream> +#include <fstream> #include <vector> #include <fcntl.h> diff --git a/src/mongo/tools/dump.cpp b/src/mongo/tools/dump.cpp index 7bf41cc0a46..69e5132dee5 100644 --- a/src/mongo/tools/dump.cpp +++ b/src/mongo/tools/dump.cpp @@ -23,6 +23,7 @@ #include <fcntl.h> #include <map> +#include <fstream> #include <boost/filesystem/operations.hpp> #include <boost/filesystem/convenience.hpp> diff --git a/src/mongo/tools/restore.cpp b/src/mongo/tools/restore.cpp index b1d38b96f62..82cc99f8395 100644 --- a/src/mongo/tools/restore.cpp +++ b/src/mongo/tools/restore.cpp @@ -28,6 +28,7 @@ #include <fcntl.h> #include <set> +#include <fstream> using namespace mongo; diff --git a/src/mongo/tools/tool.cpp b/src/mongo/tools/tool.cpp index 7791b107b44..767debbf947 100644 --- a/src/mongo/tools/tool.cpp +++ b/src/mongo/tools/tool.cpp @@ -18,6 +18,7 @@ #include "tool.h" +#include <fstream> #include <iostream> #include "pcrecpp.h" diff --git a/src/mongo/util/processinfo.cpp b/src/mongo/util/processinfo.cpp index 082d42b3bc0..17b31de6430 100644 --- a/src/mongo/util/processinfo.cpp +++ b/src/mongo/util/processinfo.cpp @@ -20,6 +20,8 @@ #include "mmap.h" #include <iostream> +#include <fstream> + using namespace std; namespace mongo { diff --git a/src/mongo/util/version.cpp b/src/mongo/util/version.cpp index 2c56e45b24e..a3d09c6d389 100644 --- a/src/mongo/util/version.cpp +++ b/src/mongo/util/version.cpp @@ -21,6 +21,7 @@ #include <iomanip> #include <sstream> #include <string> +#include <fstream> #include "unittest.h" #include "version.h" #include "stringutils.h" |