Add virtual destructor to CCoinsView
This commit is contained in:
1 parent
a4f758b72c
commit
c9c7d4824f
1 file changed
+3
@@ -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 */
|
||||||
|
|||||||
Reference in new issue
Block a user