minor formatting

This commit is contained in:
Erik Frojdh 2018-10-10 17:46:28 +02:00
parent 5f6f276f70
commit 8dc0d72028

View File

@ -390,12 +390,10 @@ 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()) {