Index: trunk/extensions/AbuseFilter/parser_native/ast.cpp |
— | — | @@ -310,9 +310,7 @@ |
311 | 311 | ast_evaluator::ast_eval_num(u32fray const &s) |
312 | 312 | { |
313 | 313 | if (s.find('.') != u32fray::npos) { |
314 | | - return u32datum::from_double( |
315 | | - typename u32datum::float_t( |
316 | | - make_u8fray(s).c_str())); |
| 314 | + return u32datum::from_double(u32datum::float_t(make_u8fray(s).c_str())); |
317 | 315 | } |
318 | 316 | |
319 | 317 | int base; |
— | — | @@ -335,8 +333,7 @@ |
336 | 334 | |
337 | 335 | fray t(make_u8fray(s)); |
338 | 336 | std::string str(t.begin(), t.end() - trim); |
339 | | - return u32datum::from_int( |
340 | | - typename u32datum::integer_t(str, base)); |
| 337 | + return u32datum::from_int(u32datum::integer_t(str, base)); |
341 | 338 | } |
342 | 339 | |
343 | 340 | u32datum |