mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-02-03 02:14:16 +00:00
Merge pull request #1972 from sipa/virtcoinsview
Add virtual destructor to CCoinsView
This commit is contained in:
commit
f4112f87f9
@ -1825,6 +1825,9 @@ public:
|
|||||||
|
|
||||||
// Calculate statistics about the unspent transaction output set
|
// Calculate statistics about the unspent transaction output set
|
||||||
virtual bool GetStats(CCoinsStats &stats);
|
virtual bool GetStats(CCoinsStats &stats);
|
||||||
|
|
||||||
|
// As we use CCoinsViews polymorphically, have a virtual destructor
|
||||||
|
virtual ~CCoinsView() {};
|
||||||
};
|
};
|
||||||
|
|
||||||
/** CCoinsView backed by another CCoinsView */
|
/** CCoinsView backed by another CCoinsView */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user