From 8b04d6f7271522848c4295d59193ec74807aec2d Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Tue, 19 Jan 2016 20:17:05 +0100 Subject: [PATCH] Adapt to current develop --- src/storage/storage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/storage.cpp b/src/storage/storage.cpp index dfedfa1d931..d9ccaa4257d 100644 --- a/src/storage/storage.cpp +++ b/src/storage/storage.cpp @@ -193,7 +193,7 @@ int Storage::Run() }(); // Allocate a memory layout in shared memory, deallocate previous - auto *layout_memory = SharedMemoryFactory::Get(layout_region, sizeof(SharedDataLayout)); + auto *layout_memory = makeSharedMemory(layout_region, sizeof(SharedDataLayout)); auto shared_layout_ptr = new (layout_memory->Ptr()) SharedDataLayout(); shared_layout_ptr->SetBlockSize(SharedDataLayout::FILE_INDEX_PATH,