diff options
| author | Pieter Wuille <[email protected]> | 2012-11-01 17:36:54 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2012-11-01 17:36:54 -0700 |
| commit | f4112f87f95c6b5e406612906a7904adf1b4df34 (patch) | |
| tree | be7dbf80c4890ac81c218acf0da94ff42d3828ca | |
| parent | Merge pull request #1923 from Diapolo/Qt_tooltips (diff) | |
| parent | Add virtual destructor to CCoinsView (diff) | |
| download | discoin-f4112f87f95c6b5e406612906a7904adf1b4df34.tar.xz discoin-f4112f87f95c6b5e406612906a7904adf1b4df34.zip | |
Merge pull request #1972 from sipa/virtcoinsview
Add virtual destructor to CCoinsView
| -rw-r--r-- | src/main.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h index 1751ccc56..d810bff98 100644 --- a/src/main.h +++ b/src/main.h @@ -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 */ |