diff options
author | metagoto <runpac314@gmail.com> | 2009-10-18 08:35:03 +0800 |
---|---|---|
committer | Eliot <eliot@10gen.com> | 2009-10-18 09:39:08 +0800 |
commit | 14cd7183e68da45332df74618e7df2e584ade0f2 (patch) | |
tree | 0d48ab66681810de3de934c0563d306987ae4af3 /stdafx.h | |
parent | b8963886b76a016725ae379a58b3c32ef519163c (diff) | |
download | mongo-14cd7183e68da45332df74618e7df2e584ade0f2.tar.gz |
quick fix for global namespace pollution (mostly client)
Diffstat (limited to 'stdafx.h')
-rw-r--r-- | stdafx.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -23,6 +23,8 @@ namespace mongo { + using namespace std; + #define NOMINMAX #if defined(_WIN32) @@ -85,7 +87,7 @@ namespace mongo { #include "string.h" #include "limits.h" -using namespace std; +///using namespace std; #undef yassert #include <boost/archive/iterators/base64_from_binary.hpp> @@ -117,7 +119,10 @@ using namespace std; #undef assert #define assert xassert #define yassert 1 -using namespace boost::filesystem; + +namespace mongo { + using namespace boost::filesystem; +} #include "util/debug_util.h" #include "util/goodies.h" |