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
|
|
@ -130,7 +130,7 @@ enum autodoc_t {
|
|||
AUTODOC_NONE
|
||||
};
|
||||
|
||||
static const char *usage = (char *) "\
|
||||
static const char *usage = "\
|
||||
Ruby Options (available with -ruby)\n\
|
||||
-autorename - Enable renaming of classes and methods to follow Ruby coding standards\n\
|
||||
-cppcast - Enable C++ casting operators (default)\n\
|
||||
|
|
@ -1111,7 +1111,7 @@ public:
|
|||
/* typedef void *VALUE */
|
||||
SwigType *value = NewSwigType(T_VOID);
|
||||
SwigType_add_pointer(value);
|
||||
SwigType_typedef(value, (char *) "VALUE");
|
||||
SwigType_typedef(value, "VALUE");
|
||||
Delete(value);
|
||||
|
||||
/* Set module name */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue