From 40289165dd8b41a441e8e2abd2ec790e987722da Mon Sep 17 00:00:00 2001 From: baldurk Date: Sat, 9 Apr 2016 13:07:25 +0200 Subject: [PATCH] Fix warning about function parameter shadowing class member variable --- glslang/Include/Types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glslang/Include/Types.h b/glslang/Include/Types.h index bff7e9a9..e28e5b29 100644 --- a/glslang/Include/Types.h +++ b/glslang/Include/Types.h @@ -999,9 +999,9 @@ public: qualifier.storage = EvqGlobal; } - void init(const TSourceLoc& loc, bool global = false) + void init(const TSourceLoc& l, bool global = false) { - initType(loc); + initType(l); sampler.clear(); initQualifiers(global); shaderQualifiers.init();