mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
FermionOperator virtual destructor needed for polymorphism
This commit is contained in:
parent
9579c9c327
commit
62eb1f0e59
@ -47,6 +47,7 @@ namespace Grid {
|
|||||||
INHERIT_IMPL_TYPES(Impl);
|
INHERIT_IMPL_TYPES(Impl);
|
||||||
|
|
||||||
FermionOperator(const ImplParams &p= ImplParams()) : Impl(p) {};
|
FermionOperator(const ImplParams &p= ImplParams()) : Impl(p) {};
|
||||||
|
virtual ~FermionOperator(void) = default;
|
||||||
|
|
||||||
virtual FermionField &tmp(void) = 0;
|
virtual FermionField &tmp(void) = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user