diff --git a/datapool/PoolEntry.cpp b/datapool/PoolEntry.cpp index 898d226e..e5d4ffde 100644 --- a/datapool/PoolEntry.cpp +++ b/datapool/PoolEntry.cpp @@ -2,7 +2,8 @@ #include template -PoolEntry::PoolEntry(std::initializer_list initValue, uint8_t set_length, uint8_t set_valid ) : length(set_length), valid(set_valid) { +PoolEntry::PoolEntry(std::initializer_list initValue, uint8_t set_length, + uint8_t set_valid ) : length(set_length), valid(set_valid) { this->address = new T[this->length]; if(initValue.size() == 0) { memset(this->address, 0, this->getByteSize()); @@ -13,7 +14,8 @@ PoolEntry::PoolEntry(std::initializer_list initValue, uint8_t set_length, } template -PoolEntry::PoolEntry( T* initValue, uint8_t set_length, uint8_t set_valid ) : length(set_length), valid(set_valid) { +PoolEntry::PoolEntry( T* initValue, uint8_t set_length, uint8_t set_valid ) : + length(set_length), valid(set_valid) { this->address = new T[this->length]; if (initValue != NULL) { memcpy(this->address, initValue, this->getByteSize() ); diff --git a/osal/FreeRTOS/FixedTimeslotTask.cpp b/osal/FreeRTOS/FixedTimeslotTask.cpp index 7bfee7e6..b1c97420 100644 --- a/osal/FreeRTOS/FixedTimeslotTask.cpp +++ b/osal/FreeRTOS/FixedTimeslotTask.cpp @@ -67,7 +67,8 @@ ReturnValue_t FixedTimeslotTask::addSlot(object_id_t componentId, return HasReturnvaluesIF::RETURN_OK; } - error << "Component " << std::hex << componentId << " not found, not adding it to pst" << std::endl; + error << "Component " << std::hex << componentId + << " not found, not adding it to pst" << std::endl; return HasReturnvaluesIF::RETURN_FAILED; }