mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
give a HasPropWithValueQueryBase a virtual destructor (#7786)
This commit is contained in:
committed by
GitHub
parent
41f5c82ccf
commit
4c37b03071
@@ -865,6 +865,8 @@ Queries::EqualityQuery<int, const Target *, true> *makeHasPropQuery(
|
||||
// ! Query whether an atom has a property with a value
|
||||
class HasPropWithValueQueryBase {
|
||||
public:
|
||||
HasPropWithValueQueryBase() = default;
|
||||
virtual ~HasPropWithValueQueryBase() = default;
|
||||
virtual Dict::Pair getPair() const = 0;
|
||||
virtual double getTolerance() const = 0;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user