Skip to content

fix: add using StructType::Equals to fix -Woverloaded-virtual warning#601

Open
WZhuo wants to merge 1 commit intoapache:mainfrom
WZhuo:fix_schema
Open

fix: add using StructType::Equals to fix -Woverloaded-virtual warning#601
WZhuo wants to merge 1 commit intoapache:mainfrom
WZhuo:fix_schema

Conversation

@WZhuo
Copy link
Contributor

@WZhuo WZhuo commented Mar 24, 2026

Schema::Equals(const Schema&) hides StructType::Equals(const Type&), triggering Clang's -Woverloaded-virtual warning. Add using StructType::Equals to bring the base class overload into scope alongside the Schema-specific one.

Schema::Equals(const Schema&) hides StructType::Equals(const Type&),
triggering Clang's -Woverloaded-virtual warning. Add 'using StructType::Equals'
to bring the base class overload into scope alongside the Schema-specific one.
@wgtmac wgtmac changed the title Fix -Woverloaded-virtual warning in Schema by adding using declaration fix: add using StructType::Equals to fix -Woverloaded-virtual warning Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants