mirror of
https://github.com/arun11299/cpp-subprocess.git
synced 2025-08-05 04:46:21 -04:00
Add virtual destructor to HolderBase (#28)
This commit is contained in:
parent
3e29149ad1
commit
de5f791d04
@ -618,6 +618,7 @@ public:
|
||||
private:
|
||||
struct HolderBase {
|
||||
virtual void operator()() const = 0;
|
||||
virtual ~HolderBase(){};
|
||||
};
|
||||
template <typename T>
|
||||
struct FuncHolder: HolderBase {
|
||||
|
Loading…
x
Reference in New Issue
Block a user