r39300 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r39299‎ | r39300 | r39301 >
Date:17:16, 13 August 2008
Author:river
Status:old
Tags:
Comment:
need type_name here too
Modified paths:
  • /trunk/extensions/AbuseFilter/parser_native/include/functors.h (modified) (history)

Diff [purge]

Index: trunk/extensions/AbuseFilter/parser_native/include/functors.h
@@ -104,7 +104,7 @@
105105 T operator() (T) const {
106106 std::string s(str(boost::format(
107107 "operator %s cannot be applied to the type '%s'")
108 - % opname_ % typeid(T).name()));
 108+ % opname_ % type_name<T>::name()));
109109
110110 throw type_error(s);
111111 }

Status & tagging log