summaryrefslogtreecommitdiff
path: root/util/mmap.cpp
diff options
context:
space:
mode:
authordwight <dwight@10gen.com>2011-01-08 13:22:45 -0500
committerdwight <dwight@10gen.com>2011-01-08 13:22:45 -0500
commit13b139f6c13a47116c33a665f7848473f45624ef (patch)
treec22a60da874093959c71052837f2a1711ae12ec9 /util/mmap.cpp
parent23adcf5c563a432b0d500a50dca6d6a77d07a73d (diff)
downloadmongo-13b139f6c13a47116c33a665f7848473f45624ef.tar.gz
remove _TESTINTENT
Diffstat (limited to 'util/mmap.cpp')
-rw-r--r--util/mmap.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/util/mmap.cpp b/util/mmap.cpp
index 7b69e33cd58..ae840e8310d 100644
--- a/util/mmap.cpp
+++ b/util/mmap.cpp
@@ -178,8 +178,6 @@ namespace mongo {
ptf = this;
}
-#if defined(_DEBUG) && !defined(_TESTINTENT)
-
void MongoFile::markAllWritable() {
rwlock lk( mmmutex , false );
for ( set<MongoFile*>::iterator i = mmfiles.begin(); i != mmfiles.end(); i++ ) {
@@ -195,6 +193,4 @@ namespace mongo {
if (mmf) mmf->_unlock();
}
}
-#endif
-
} // namespace mongo