Browse Source

[2831] define MemorySegmentMapped::INITIAL_SIZE explicitly as it's public.

JINMEI Tatuya 12 years ago
parent
commit
693068bdb1
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/lib/util/memory_segment_mapped.cc

+ 3 - 0
src/lib/util/memory_segment_mapped.cc

@@ -28,6 +28,9 @@ using namespace boost::interprocess;
 
 namespace isc {
 namespace util {
+// Definition of class static constant so it can be referenced by address
+// or reference.
+const size_t MemorySegmentMapped::INITIAL_SIZE;
 
 // We customize managed_mapped_file to make it completely lock free.  In our
 // usage the application (or the system of applications) is expected to ensure