simplified storage accessor

This commit is contained in:
Robin Müller 2020-05-12 14:12:39 +02:00
parent 1946af64af
commit 5af0c15dfc
1 changed files with 2 additions and 2 deletions

View File

@ -10,11 +10,11 @@ public:
internalMutex(mutex) {
ReturnValue_t status = mutex->lockMutex(timeoutMs);
if(status != HasReturnvaluesIF::RETURN_OK){
sif::error << "MutexHelper: Lock of Mutex failed " << status << std::endl;
sif::error << "MutexHelper: Lock of Mutex failed " <<
status << std::endl;
}
}
~MutexHelper() {
internalMutex->unlockMutex();
}