From: Alexander G. Pronchenkov Date: Tue, 26 Jan 2010 11:34:55 +0000 (+0500) Subject: Added destructor. X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=commitdiff_plain;h=2f0d0d1c8900eb3161ad9a3355ff139c210aa2f4;p=swift-upb.git Added destructor. --- 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);