Eliminate needless casting away const from string constants

This commit is contained in:
Olly Betts 2014-04-30 12:00:23 +12:00
commit 36be36d618
26 changed files with 50 additions and 50 deletions

View file

@ -467,7 +467,7 @@ static String *Swig_cmethod_call(const_String_or_char_ptr name, ParmList *parms,
return func;
if (!self)
self = (char *) "(this)->";
self = "(this)->";
Append(func, self);
if (SwigType_istemplate(name) && (strncmp(Char(name), "operator ", 9) == 0)) {