mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-08-04 10:16:41 -04:00
Silence some compiler warnings. The const on return-by-value is ignored.
This commit is contained in:
parent
3431fcfd78
commit
8769a07cee
@ -203,12 +203,12 @@ class Arg
|
|||||||
* The char used as a place holder when SwitchArgs are combined.
|
* The char used as a place holder when SwitchArgs are combined.
|
||||||
* Currently set to the bell char (ASCII 7).
|
* Currently set to the bell char (ASCII 7).
|
||||||
*/
|
*/
|
||||||
static const char blankChar() { return (char)7; }
|
static char blankChar() { return (char)7; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The char that indicates the beginning of a flag. Currently '-'.
|
* The char that indicates the beginning of a flag. Currently '-'.
|
||||||
*/
|
*/
|
||||||
static const char flagStartChar() { return '-'; }
|
static char flagStartChar() { return '-'; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The sting that indicates the beginning of a flag. Currently "-".
|
* The sting that indicates the beginning of a flag. Currently "-".
|
||||||
|
Loading…
x
Reference in New Issue
Block a user