Skip to content

Commit

Permalink
Added const to string definitions so that the compiler won't warn abo…
Browse files Browse the repository at this point in the history
…ut them being unused.
  • Loading branch information
russell-taylor committed Jul 4, 2015
1 parent c09eb04 commit f618387
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions contrib/openddlparser/code/OpenDDLParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ BEGIN_ODDLPARSER_NS
static const char *Version = "0.1.0";

namespace Grammar {
static const char *OpenBracketToken = "{";
static const char *CloseBracketToken = "}";
static const char *OpenPropertyToken = "(";
static const char *ClosePropertyToken = ")";
static const char *BoolTrue = "true";
static const char *BoolFalse = "false";
static const char *RefToken = "ref";
static const char *CommaSeparator = ",";
static const char * const OpenBracketToken = "{";
static const char * const CloseBracketToken = "}";
static const char * const OpenPropertyToken = "(";
static const char * const ClosePropertyToken = ")";
static const char * const BoolTrue = "true";
static const char * const BoolFalse = "false";
static const char * const RefToken = "ref";
static const char * const CommaSeparator = ",";

static const char* PrimitiveTypeToken[ Value::ddl_types_max ] = {
"bool",
Expand Down

0 comments on commit f618387

Please sign in to comment.