Silence some compiler warnings. The const on return-by-value is ignored.

This commit is contained in:
zeekec 2008-08-19 21:52:32 +00:00
parent 3431fcfd78
commit 8769a07cee

View File

@ -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 "-".