From b5757b95005bbf6b0287096c5b708c5e25645311 Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Fri, 3 Apr 2020 01:04:09 -0400 Subject: [PATCH] Remove extra semicolons (#2170) This is causing downstream users compiler errors if they have Werror or other particularly restrictive flags turned on. --- glslang/MachineIndependent/localintermediate.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/glslang/MachineIndependent/localintermediate.h b/glslang/MachineIndependent/localintermediate.h index 62cf5d67..66f5a88a 100644 --- a/glslang/MachineIndependent/localintermediate.h +++ b/glslang/MachineIndependent/localintermediate.h @@ -227,8 +227,8 @@ enum ComputeDerivativeMode { class TIdMaps { public: - TMap& operator[](int i) { return maps[i]; }; - const TMap& operator[](int i) const { return maps[i]; }; + TMap& operator[](int i) { return maps[i]; } + const TMap& operator[](int i) const { return maps[i]; } private: TMap maps[EsiCount]; }; @@ -256,7 +256,7 @@ public: inputPrimitive(ElgNone), outputPrimitive(ElgNone), pixelCenterInteger(false), originUpperLeft(false), vertexSpacing(EvsNone), vertexOrder(EvoNone), interlockOrdering(EioNone), pointMode(false), earlyFragmentTests(false), - postDepthCoverage(false), depthLayout(EldNone), + postDepthCoverage(false), depthLayout(EldNone), hlslFunctionality1(false), blendEquations(0), xfbMode(false), multiStream(false), layoutOverrideCoverage(false), @@ -595,7 +595,7 @@ public: processes.addProcess("flatten-uniform-arrays"); } bool getFlattenUniformArrays() const { return flattenUniformArrays; } -#endif +#endif void setNoStorageFormat(bool b) { useUnknownFormat = b;