From b3345c422d0bb166f9df6886e831ef416c382828 Mon Sep 17 00:00:00 2001 From: John Kessenich Date: Thu, 26 Sep 2013 00:53:10 +0000 Subject: [PATCH] Fix g++ complaint with previous check in. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23247 e7fa87d3-cd2b-0410-9028-fcbf551c1848 --- glslang/MachineIndependent/ParseHelper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glslang/MachineIndependent/ParseHelper.h b/glslang/MachineIndependent/ParseHelper.h index f40cd784..a4bfbfd9 100644 --- a/glslang/MachineIndependent/ParseHelper.h +++ b/glslang/MachineIndependent/ParseHelper.h @@ -167,7 +167,7 @@ protected: const char* getPreamble(); TBehavior getExtensionBehavior(const char* behavior); void nonInitConstCheck(TSourceLoc, TString& identifier, TType& type); - TVariable* TParseContext::declareNonArray(TSourceLoc, TString& identifier, TType&, bool& newDeclaration); + TVariable* declareNonArray(TSourceLoc, TString& identifier, TType&, bool& newDeclaration); void declareArray(TSourceLoc, TString& identifier, const TType&, TVariable*&, bool& newDeclaration); TIntermNode* executeInitializer(TSourceLoc, TString& identifier, TType&, TIntermTyped* initializer, TVariable* variable);