summaryrefslogtreecommitdiff
path: root/src/mongo/db/db.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/db.cpp')
-rw-r--r--src/mongo/db/db.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/mongo/db/db.cpp b/src/mongo/db/db.cpp
index 10139e33a45..3911ddecbef 100644
--- a/src/mongo/db/db.cpp
+++ b/src/mongo/db/db.cpp
@@ -118,6 +118,15 @@
namespace mongo {
+ using std::auto_ptr;
+ using std::cout;
+ using std::cerr;
+ using std::endl;
+ using std::list;
+ using std::string;
+ using std::stringstream;
+ using std::vector;
+
using logger::LogComponent;
void (*snmpInit)() = NULL;
@@ -734,7 +743,7 @@ static void startupConfigActions(const std::vector<std::string>& args) {
string procPath;
if (!failed){
try {
- ifstream f (name.c_str());
+ std::ifstream f (name.c_str());
f >> pid;
procPath = (str::stream() << "/proc/" << pid);
if (!boost::filesystem::exists(procPath))