diff --git a/container/SharedRingBuffer.cpp b/container/SharedRingBuffer.cpp index afcd89c7..001a21ed 100644 --- a/container/SharedRingBuffer.cpp +++ b/container/SharedRingBuffer.cpp @@ -3,15 +3,14 @@ #include SharedRingBuffer::SharedRingBuffer(object_id_t objectId, const size_t size, - bool overwriteOld, size_t maxExcessBytes, dur_millis_t mutexTimeout): + bool overwriteOld, size_t maxExcessBytes): SystemObject(objectId), SimpleRingBuffer(size, overwriteOld, maxExcessBytes) { mutex = MutexFactory::instance()->createMutex(); } SharedRingBuffer::SharedRingBuffer(object_id_t objectId, uint8_t *buffer, - const size_t size, bool overwriteOld, size_t maxExcessBytes, - dur_millis_t mutexTimeout): + const size_t size, bool overwriteOld, size_t maxExcessBytes): SystemObject(objectId), SimpleRingBuffer(buffer, size, overwriteOld, maxExcessBytes) { mutex = MutexFactory::instance()->createMutex(); diff --git a/container/SharedRingBuffer.h b/container/SharedRingBuffer.h index 69a3d724..102cc6be 100644 --- a/container/SharedRingBuffer.h +++ b/container/SharedRingBuffer.h @@ -24,8 +24,7 @@ public: * will be overwritten. */ SharedRingBuffer(object_id_t objectId, const size_t size, - bool overwriteOld, size_t maxExcessBytes, - dur_millis_t mutexTimeout = 10); + bool overwriteOld, size_t maxExcessBytes); /** * This constructor takes an external buffer with the specified size. @@ -36,8 +35,7 @@ public: * will be overwritten. */ SharedRingBuffer(object_id_t objectId, uint8_t* buffer, const size_t size, - bool overwriteOld, size_t maxExcessBytes, - dur_millis_t mutexTimeout = 10); + bool overwriteOld, size_t maxExcessBytes); /** * Unless a read-only constant value is read, all operations on the