Skip to content

Commit

Permalink
Remove extra semicolons (KhronosGroup#2170)
Browse files Browse the repository at this point in the history
This is causing downstream users compiler errors if they have Werror or other
particularly restrictive flags turned on.
  • Loading branch information
zoddicus authored Apr 3, 2020
1 parent 0b66fa3 commit b5757b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions glslang/MachineIndependent/localintermediate.h
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ enum ComputeDerivativeMode {

class TIdMaps {
public:
TMap<TString, int>& operator[](int i) { return maps[i]; };
const TMap<TString, int>& operator[](int i) const { return maps[i]; };
TMap<TString, int>& operator[](int i) { return maps[i]; }
const TMap<TString, int>& operator[](int i) const { return maps[i]; }
private:
TMap<TString, int> maps[EsiCount];
};
Expand Down Expand Up @@ -256,7 +256,7 @@ class TIntermediate {
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),
Expand Down Expand Up @@ -595,7 +595,7 @@ class TIntermediate {
processes.addProcess("flatten-uniform-arrays");
}
bool getFlattenUniformArrays() const { return flattenUniformArrays; }
#endif
#endif
void setNoStorageFormat(bool b)
{
useUnknownFormat = b;
Expand Down

0 comments on commit b5757b9

Please sign in to comment.