From 2f0d0d1c8900eb3161ad9a3355ff139c210aa2f4 Mon Sep 17 00:00:00 2001 From: "Alexander G. Pronchenkov" Date: Tue, 26 Jan 2010 16:34:55 +0500 Subject: [PATCH] Added destructor. --- bins.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bins.h b/bins.h index 69bf6f7..389a06f 100644 --- a/bins.h +++ b/bins.h @@ -30,6 +30,9 @@ public: /** Copying constructor. */ binmap_t(const binmap_t& b); + /** Destructor. */ + ~binmap_t() { delete [] cells; } + /** Get value for the bin. */ uint16_t get (bin64_t bin); -- 2.20.1