Merge pull request #1972 from sipa/virtcoinsview

Add virtual destructor to CCoinsView
This commit is contained in:
Pieter Wuille 2012-11-01 17:36:54 -07:00
commit f4112f87f9

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 */