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

@@ -33,11 +33,11 @@ class _IsSubstructOf : public Catch::MatcherBase<const ROMol &> {
_IsSubstructOf(const ROMol &m, SubstructMatchParameters ps)
: m_mol(&m), m_ps(std::move(ps)) {}
virtual bool match(const ROMol &query) const override {
bool match(const ROMol &query) const override {
return !SubstructMatch(*m_mol, query, m_ps).empty();
}
virtual std::string describe() const override {
std::string describe() const override {
std::ostringstream ss;
ss << "is not a substructure of " << MolToCXSmiles(*m_mol);
return ss.str();