summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/mmaptests.cpp
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-01-05 17:07:47 -0500
committerEliot Horowitz <eliot@10gen.com>2012-01-05 17:58:21 -0500
commit432a8396eef6888c740c5a6ad8be3eed3fba34b5 (patch)
tree371a10cc9a70cac2f6383c67607d9b6eb0af1d67 /src/mongo/dbtests/mmaptests.cpp
parent717c7a2d79272f03f73f3214fbb61b59e22836ee (diff)
downloadmongo-432a8396eef6888c740c5a6ad8be3eed3fba34b5.tar.gz
remove boost filesystem includes from pch.h and be explicit anywhere we use it
Diffstat (limited to 'src/mongo/dbtests/mmaptests.cpp')
-rw-r--r--src/mongo/dbtests/mmaptests.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/dbtests/mmaptests.cpp b/src/mongo/dbtests/mmaptests.cpp
index 7fb6eee98fc..50da7391884 100644
--- a/src/mongo/dbtests/mmaptests.cpp
+++ b/src/mongo/dbtests/mmaptests.cpp
@@ -21,6 +21,8 @@
#include "../util/timer.h"
#include "dbtests.h"
+#include <boost/filesystem/operations.hpp>
+
namespace MMapTests {
class LeakTest {
@@ -28,7 +30,7 @@ namespace MMapTests {
const int optOld;
public:
LeakTest() :
- fn( (path(dbpath) / "testfile.map").string() ), optOld(cmdLine.durOptions)
+ fn( (boost::filesystem::path(dbpath) / "testfile.map").string() ), optOld(cmdLine.durOptions)
{
cmdLine.durOptions = 0; // DurParanoid doesn't make sense with this test
}