Skip to content

Commit

Permalink
Adapt to current develop
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMarex committed Jan 19, 2016
1 parent e58c16d commit 8b04d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage/storage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<char>(SharedDataLayout::FILE_INDEX_PATH,
Expand Down

0 comments on commit 8b04d6f

Please sign in to comment.