From ebf932d2e02d2099542b2c5bbbfbcc3d3f688eff Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Fri, 14 Sep 2012 15:50:18 +0200 Subject: [PATCH] Fix initialization order warning. And constify while I'm at it. --- Source/cmGeneratorExpressionLexer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/cmGeneratorExpressionLexer.h b/Source/cmGeneratorExpressionLexer.h index bbd069f6bb..5f16712fbe 100644 --- a/Source/cmGeneratorExpressionLexer.h +++ b/Source/cmGeneratorExpressionLexer.h @@ -45,14 +45,14 @@ public: std::vector Tokenize(const char *input); - bool GetSawGeneratorExpression() + bool GetSawGeneratorExpression() const { return this->SawGeneratorExpression; } private: - bool SawGeneratorExpression; bool SawBeginExpression; + bool SawGeneratorExpression; }; #endif