mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
Run clang-tidy (modernize-use-override) (#4251)
This commit is contained in:
@@ -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>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user