From f618387b062274c9b9a267a7f4fc5eb0856db7ef Mon Sep 17 00:00:00 2001 From: Russ Taylor Date: Sat, 4 Jul 2015 18:31:25 -0400 Subject: [PATCH] Added const to string definitions so that the compiler won't warn about them being unused. --- contrib/openddlparser/code/OpenDDLParser.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/contrib/openddlparser/code/OpenDDLParser.cpp b/contrib/openddlparser/code/OpenDDLParser.cpp index bc85ec4ab..77a1c4a25 100644 --- a/contrib/openddlparser/code/OpenDDLParser.cpp +++ b/contrib/openddlparser/code/OpenDDLParser.cpp @@ -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",