Fix warning about function parameter shadowing class member variable
authorbaldurk <baldurk@baldurk.org>
Sat, 9 Apr 2016 11:07:25 +0000 (13:07 +0200)
committerbaldurk <baldurk@baldurk.org>
Sat, 9 Apr 2016 11:11:50 +0000 (13:11 +0200)
glslang/Include/Types.h

index bff7e9a..e28e5b2 100644 (file)
@@ -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();