diff options
author | Eliot Horowitz <eliot@10gen.com> | 2009-08-11 14:29:03 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2009-08-11 14:29:03 -0400 |
commit | 01ff742b4e0eb9da187a98e6de2669c28fffc271 (patch) | |
tree | ecb9aa27e5f0421834dc1b37a67cf7dd3d8e3a6d /dbtests | |
parent | b208f54e5a7290b8ab0e55cedaa6a63d97ab0925 (diff) | |
download | mongo-01ff742b4e0eb9da187a98e6de2669c28fffc271.tar.gz |
changed dbpath to std::string
Diffstat (limited to 'dbtests')
-rw-r--r-- | dbtests/dbtests.cpp | 2 | ||||
-rw-r--r-- | dbtests/perf/perftest.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dbtests/dbtests.cpp b/dbtests/dbtests.cpp index b861686574b..5ef7113a4b2 100644 --- a/dbtests/dbtests.cpp +++ b/dbtests/dbtests.cpp @@ -33,7 +33,7 @@ using namespace std; namespace mongo { - extern const char* dbpath; + extern string dbpath; } // namespace mongo string dbpathSpec = "/tmp/unittest/"; diff --git a/dbtests/perf/perftest.cpp b/dbtests/perf/perftest.cpp index aa3d047a831..373296ac2aa 100644 --- a/dbtests/perf/perftest.cpp +++ b/dbtests/perf/perftest.cpp @@ -30,7 +30,7 @@ #include <boost/date_time/posix_time/posix_time.hpp> namespace mongo { - extern const char* dbpath; + extern string dbpath; } // namespace mongo // Very useful function, hacky way of getting at at. |