1
0
Fork 0

Merge pull request #690 from Zaneo/sharedmemory

Shared_memory: Initialize base address to 0x0
This commit is contained in:
bunnei 2015-04-09 14:37:15 -04:00
commit b16fe21764
1 changed files with 1 additions and 0 deletions

View File

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