mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-01 06:24:58 +01:00
With corrections
This commit is contained in:
@@ -126,10 +126,8 @@ template <typename T> class SharedMemory {
|
||||
RemoveSharedMemory();
|
||||
throw SharedMemoryError(msg);
|
||||
}
|
||||
// int *pInt = new (buf) int(3);
|
||||
|
||||
shared_struct = MapSharedMemory();
|
||||
new (shared_struct) T{}; // is this ok?
|
||||
new (shared_struct) T{};
|
||||
LOG(logINFO) << "Shared memory created " << name;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user