// Custom includes
#include <boost/regex.hpp>
-#include <senf/Utils/Console/Console.hh>
+#include <senf/Utils/Console/Traits.hh>
//#include "ClockService.mpp"
#define prefix_
-///////////////////////////////cc.p////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
prefix_ void
senf::parseClockServiceInterval(console::ParseCommandInfo::TokensRange const & tokens,
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) {
os << interval << "ns";
}
-///////////////////////////////cc.e////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
#undef prefix_
//#include "ClockService.mpp"