summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2008-12-29 17:52:23 -0500
committerEliot Horowitz <eliot@10gen.com>2008-12-29 17:52:23 -0500
commit875ea007ef8e0c388ad06afca9f2faa194634a34 (patch)
treef3762ee6b81f3c68a906634eec0b036d90f19fb9
parent87cf98d3671d5ec74a0794a75698fd99235eb45e (diff)
downloadmongo-875ea007ef8e0c388ad06afca9f2faa194634a34.tar.gz
boost filesystem oddity
this lets me use a:b with all versions of boost
-rw-r--r--db/db.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/db/db.cpp b/db/db.cpp
index 67a026900b3..9ce745058c0 100644
--- a/db/db.cpp
+++ b/db/db.cpp
@@ -353,6 +353,9 @@ void testClient();
int main(int argc, char* argv[], char *envp[] )
{
+
+ boost:filesystem::path::default_name_check( boost::filesystem::no_check );
+
{
unsigned x = 0x12345678;
unsigned char& b = (unsigned char&) x;