mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
Add virtual destructors for CBLSWrapper and CBLSLazyWrapper (#4298)
* Fixes issue #3759 Add virtual destructors for CBLSWrapper and CBLSLazyWrapper * Fix linter errors Co-authored-by: UdjinM6 <UdjinM6@users.noreply.github.com> Co-authored-by: PastaPastaPasta <6443210+PastaPastaPasta@users.noreply.github.com> Co-authored-by: UdjinM6 <UdjinM6@users.noreply.github.com>
This commit is contained in:
parent
4ead0a71b7
commit
13cb92e27f
@ -80,6 +80,8 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
virtual ~CBLSWrapper() {}
|
||||
|
||||
bool operator==(const C& r) const
|
||||
{
|
||||
return fValid == r.fValid && impl == r.impl;
|
||||
@ -321,6 +323,7 @@ public:
|
||||
{
|
||||
*this = r;
|
||||
}
|
||||
virtual ~CBLSLazyWrapper() {}
|
||||
|
||||
CBLSLazyWrapper& operator=(const CBLSLazyWrapper& r)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user