X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FScheduler%2FClockService.cc;h=36ffdd4783887d2612c3a0cc8a028c575971ff5c;hb=78a6e233083efa63a9cd0684a92abc64202a9ee7;hp=5a1fb6ab43edf50f2cfaff93115fcc26e67e3708;hpb=26610f603ebdd465307b9621f532c1fe19fd5571;p=senf.git diff --git a/senf/Scheduler/ClockService.cc b/senf/Scheduler/ClockService.cc index 5a1fb6a..36ffdd4 100644 --- a/senf/Scheduler/ClockService.cc +++ b/senf/Scheduler/ClockService.cc @@ -57,7 +57,8 @@ senf::parseClockServiceInterval(console::ParseCommandInfo::TokensRange const & t scale = *match.first; unit = *boost::next(match.first); } else { - SENF_ASSERT( match.length() == 1); + SENF_ASSERT( match.length() == 1, + "Internal failure: RegEx match returns weird number of matches" ); unit = *match.first; } switch (scale) {