*uppsrc: mr_ped's GCC warnings fix, Core: now methods in Thread based on tojocky's ideas

git-svn-id: svn://ultimatepp.org/upp/trunk@2972 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2011-01-08 12:36:46 +00:00
parent bf7a0963ea
commit 7e63d65e57
26 changed files with 52 additions and 65 deletions

View file

@ -1207,7 +1207,7 @@ CppItem& Parser::Fn(const Decl& d, const String& templ, bool body,
int q;
if(d.castoper) {
q = d.name.ReverseFind(' ');
q = q > 0 ? d.name.ReverseFind(':', q) : q = d.name.ReverseFind(':');
q = q > 0 ? d.name.ReverseFind(':', q) : d.name.ReverseFind(':');
}
else
q = d.name.ReverseFind(':');