r39544 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r39543‎ | r39544 | r39545 >
Date:18:18, 17 August 2008
Author:river
Status:old
Tags:
Comment:
remove extraneous typename
Modified paths:
  • /trunk/extensions/AbuseFilter/parser_native/ast.cpp (modified) (history)

Diff [purge]

Index: trunk/extensions/AbuseFilter/parser_native/ast.cpp
@@ -310,9 +310,7 @@
311311 ast_evaluator::ast_eval_num(u32fray const &s)
312312 {
313313 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()));
317315 }
318316
319317 int base;
@@ -335,8 +333,7 @@
336334
337335 fray t(make_u8fray(s));
338336 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));
341338 }
342339
343340 u32datum

Status & tagging log