summaryrefslogtreecommitdiff
path: root/tools/import.cpp
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2009-01-14 17:09:51 -0500
committerAaron <aaron@10gen.com>2009-01-14 17:09:51 -0500
commitad1f6b3cbdd1183eedc04f98fa813e63ce68a408 (patch)
treecc0498e49d55eae8e8e1cbb7f494b085a732a45d /tools/import.cpp
parent023535d844a43627d1f2c934ffd349f4355ed4c2 (diff)
downloadmongo-ad1f6b3cbdd1183eedc04f98fa813e63ce68a408.tar.gz
Put our code in 'mongo' namespace
Diffstat (limited to 'tools/import.cpp')
-rw-r--r--tools/import.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/import.cpp b/tools/import.cpp
index f74d2af0e1d..a388060ff7f 100644
--- a/tools/import.cpp
+++ b/tools/import.cpp
@@ -24,6 +24,8 @@
#include <fcntl.h>
+namespace mongo {
+
namespace po = boost::program_options;
namespace import {
@@ -107,7 +109,11 @@ namespace import {
drillDown( conn , dirRoot );
}
-}
+} // namespace import
+
+} // namespace mongo
+
+using namespace mongo;
int main( int argc , char ** argv ){
@@ -151,4 +157,3 @@ int main( int argc , char ** argv ){
import::go( host , dir );
return 0;
}
-