Commit c8f7232e by Zhenyao Mo

Attempt an Mac build fix

BUG= TEST=mac bots build on GPU.FYI Change-Id: I3dd2b07702e8c0a40d64ab973eb969ba50954640 Reviewed-on: https://chromium-review.googlesource.com/199611Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Tested-by: 's avatarZhenyao Mo <zmo@chromium.org>
parent 9eedea03
......@@ -62,6 +62,11 @@ bool TFieldListCollection::equals(const TFieldListCollection &other) const
return true;
}
bool TStructure::equals(const TStructure &other) const
{
return TFieldListCollection::equals(other);
}
bool TInterfaceBlock::equals(const TInterfaceBlock &other) const
{
if (!TFieldListCollection::equals(other))
......
......@@ -88,8 +88,6 @@ class TFieldListCollection
return mObjectSize;
};
virtual bool equals(const TFieldListCollection &other) const;
protected:
TFieldListCollection(const TString *name, TFieldList *fields)
: mName(name),
......@@ -101,6 +99,8 @@ class TFieldListCollection
size_t calculateObjectSize() const;
virtual TString mangledNamePrefix() const = 0;
bool equals(const TFieldListCollection &other) const;
const TString *mName;
TFieldList *mFields;
......@@ -127,6 +127,8 @@ class TStructure : public TFieldListCollection
}
bool containsArrays() const;
bool equals(const TStructure &other) const;
private:
DISALLOW_COPY_AND_ASSIGN(TStructure);
virtual TString mangledNamePrefix() const
......@@ -177,7 +179,7 @@ class TInterfaceBlock : public TFieldListCollection
return mMatrixPacking;
}
virtual bool equals(const TInterfaceBlock &other) const;
bool equals(const TInterfaceBlock &other) const;
private:
DISALLOW_COPY_AND_ASSIGN(TInterfaceBlock);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment