summaryrefslogtreecommitdiff
path: root/util/mmap.cpp
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2009-04-15 11:58:38 -0400
committerAaron <aaron@10gen.com>2009-04-15 11:58:38 -0400
commit0033bd91dfd8846e7f53e4a58c91714fa5b6d99e (patch)
tree85ba5c70ea5cae665323d2ede7201e8c5c0360f8 /util/mmap.cpp
parentae6ea342423e7bc73f1d4632d51a0f261f24600e (diff)
downloadmongo-0033bd91dfd8846e7f53e4a58c91714fa5b6d99e.tar.gz
allocate files in background
Diffstat (limited to 'util/mmap.cpp')
-rw-r--r--util/mmap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/mmap.cpp b/util/mmap.cpp
index e0df6ec1ad9..a68cff77fc2 100644
--- a/util/mmap.cpp
+++ b/util/mmap.cpp
@@ -46,7 +46,7 @@ namespace mongo {
--closingAllFiles;
}
- void MemoryMappedFile::updateLength( const char *filename, int &length ) const {
+ void MemoryMappedFile::updateLength( const char *filename, int &length ) {
if ( !boost::filesystem::exists( filename ) )
return;
// make sure we map full length if preexisting file.