Run clang-tidy (modernize-use-override) (#4251)

This commit is contained in:
Eisuke Kawashima
2021-07-01 12:18:56 +09:00
committed by GitHub
parent 333ae7d655
commit 013ba4f21d
103 changed files with 542 additions and 507 deletions

View File

@@ -24,7 +24,7 @@ class RDKIT_QUERY_EXPORT XOrQuery
typedef Query<MatchFuncArgType, DataFuncArgType, needsConversion> BASE;
XOrQuery() { this->df_negate = false; }
bool Match(const DataFuncArgType what) const {
bool Match(const DataFuncArgType what) const override {
bool res = false;
typename BASE::CHILD_VECT_CI it1;
for (it1 = this->beginChildren(); it1 != this->endChildren(); ++it1) {
@@ -42,7 +42,8 @@ class RDKIT_QUERY_EXPORT XOrQuery
return res;
}
Query<MatchFuncArgType, DataFuncArgType, needsConversion> *copy() const {
Query<MatchFuncArgType, DataFuncArgType, needsConversion> *copy()
const override {
XOrQuery<MatchFuncArgType, DataFuncArgType, needsConversion> *res =
new XOrQuery<MatchFuncArgType, DataFuncArgType, needsConversion>();