mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-02 02:40:04 +02:00
minor formatting
This commit is contained in:
parent
5f6f276f70
commit
8dc0d72028
@ -390,13 +390,11 @@ std::string multiSlsDetector::getUserDetails() {
|
||||
* exceptions are caught in calling function, shm unmapped and deleted
|
||||
*/
|
||||
void multiSlsDetector::initSharedMemory(bool verify) {
|
||||
size_t sz = sizeof(sharedMultiSlsDetector);
|
||||
|
||||
|
||||
try {
|
||||
// shared memory object with name
|
||||
sharedMemory = new SharedMemory(detId, -1);
|
||||
|
||||
size_t sz = sizeof(sharedMultiSlsDetector);
|
||||
|
||||
//create
|
||||
if (!sharedMemory->IsExisting()) {
|
||||
thisMultiDetector = (sharedMultiSlsDetector*)sharedMemory->CreateSharedMemory(sz);
|
||||
|
Loading…
x
Reference in New Issue
Block a user