Added const to string definitions so that the compiler won't warn about them being unused.

pull/603/head
Russ Taylor 2015-07-04 18:31:25 -04:00
parent c09eb045a1
commit f618387b06
1 changed files with 8 additions and 8 deletions

View File

@ -39,14 +39,14 @@ BEGIN_ODDLPARSER_NS
static const char *Version = "0.1.0"; static const char *Version = "0.1.0";
namespace Grammar { namespace Grammar {
static const char *OpenBracketToken = "{"; static const char * const OpenBracketToken = "{";
static const char *CloseBracketToken = "}"; static const char * const CloseBracketToken = "}";
static const char *OpenPropertyToken = "("; static const char * const OpenPropertyToken = "(";
static const char *ClosePropertyToken = ")"; static const char * const ClosePropertyToken = ")";
static const char *BoolTrue = "true"; static const char * const BoolTrue = "true";
static const char *BoolFalse = "false"; static const char * const BoolFalse = "false";
static const char *RefToken = "ref"; static const char * const RefToken = "ref";
static const char *CommaSeparator = ","; static const char * const CommaSeparator = ",";
static const char* PrimitiveTypeToken[ Value::ddl_types_max ] = { static const char* PrimitiveTypeToken[ Value::ddl_types_max ] = {
"bool", "bool",