if (tokens.size() != 1)
throw senf::console::SyntaxErrorException("parameter syntax error");
std::string v (tokens.begin()[0].value());
- unsigned i (v.find(':'));
+ std::string::size_type i (v.find(':'));
try {
if (i == std::string::npos)
out.low = out.high = boost::lexical_cast<T>(v);
prefix_ void senf::console::ReturnValueTraits< senf::console::ValueRange<T> >::
format(type const & value, std::ostream & os)
{
- os << value.low;
+ os << senf::console::str(value.low);
if (value.low != value.high)
- os << ':' << value.high;
+ os << ':' << senf::console::str(value.high);
}
///////////////////////////////ct.e////////////////////////////////////////