Initialize base address to 0x0

master
Gareth Higgins 2015-04-08 20:34:41 +07:00
parent 8af5753da5
commit 25a43cd2ec
1 changed files with 1 additions and 0 deletions

@ -16,6 +16,7 @@ SharedPtr<SharedMemory> SharedMemory::Create(std::string name) {
SharedPtr<SharedMemory> shared_memory(new SharedMemory);
shared_memory->name = std::move(name);
shared_memory->base_address = 0x0;
return shared_memory;
}