Parcourir la source

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

JINMEI Tatuya il y a 12 ans
Parent
commit
693068bdb1
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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