diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-09-11 11:12:52 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-09-11 16:10:27 -0400 |
commit | b47b91801021f5125fbcee07bf827b237ad1b4ee (patch) | |
tree | 40551bc8f376fee6814d6ee0812d6d1ae35d056b /src/mongo/db/storage/mmap_v1/data_file.cpp | |
parent | 4c429ebe0a44521a293103c8e3b2fb90f14f056e (diff) | |
download | mongo-b47b91801021f5125fbcee07bf827b237ad1b4ee.tar.gz |
SERVER-14668 Make Locker an interface
Turns the Locker class into an interface and changes most usages of
LockState to now be either accesses to this interface or to use the
default interface implementation.
Diffstat (limited to 'src/mongo/db/storage/mmap_v1/data_file.cpp')
-rw-r--r-- | src/mongo/db/storage/mmap_v1/data_file.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/storage/mmap_v1/data_file.cpp b/src/mongo/db/storage/mmap_v1/data_file.cpp index 2fdd13b69e1..44ee1412831 100644 --- a/src/mongo/db/storage/mmap_v1/data_file.cpp +++ b/src/mongo/db/storage/mmap_v1/data_file.cpp @@ -36,12 +36,12 @@ #include <boost/filesystem/operations.hpp> -#include "mongo/db/concurrency/d_concurrency.h" #include "mongo/db/storage/mmap_v1/dur.h" #include "mongo/db/operation_context.h" #include "mongo/util/file_allocator.h" #include "mongo/util/log.h" + namespace mongo { BOOST_STATIC_ASSERT( sizeof(DataFileHeader)-4 == 8192 ); |