Eliminate needless casting away const from string constants
This commit is contained in:
parent
618868ce3d
commit
36be36d618
26 changed files with 50 additions and 50 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue