replaced exit by returning failed

This commit is contained in:
Robin Müller 2020-05-05 19:33:06 +02:00
parent c4486e79ec
commit 119455f3fd

View File

@ -91,6 +91,7 @@ uint32_t FixedSlotSequence::getLengthMs() const {
ReturnValue_t FixedSlotSequence::checkSequence() const { ReturnValue_t FixedSlotSequence::checkSequence() const {
if(slotList.empty()) { if(slotList.empty()) {
error << "Fixed Slot Sequence: Slot list is empty!" << std::endl; error << "Fixed Slot Sequence: Slot list is empty!" << std::endl;
return HasReturnvaluesIF::RETURN_FAILED;
} }
auto slotIt = slotList.begin(); auto slotIt = slotList.begin();
uint32_t count = 0; uint32_t count = 0;