0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-08 10:31:50 -05:00

Add virtual destructor to CCoinsView

This commit is contained in:
Pieter Wuille 2012-11-01 22:53:54 +01:00
parent a4f758b72c
commit c9c7d4824f

View file

@ -1825,6 +1825,9 @@ public:
// Calculate statistics about the unspent transaction output set
virtual bool GetStats(CCoinsStats &stats);
// As we use CCoinsViews polymorphically, have a virtual destructor
virtual ~CCoinsView() {};
};
/** CCoinsView backed by another CCoinsView */