projects
/
swift-upb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1315a8a
)
Added destructor.
author
Alexander G. Pronchenkov
<the.zett@gmail.com>
Tue, 26 Jan 2010 11:34:55 +0000
(16:34 +0500)
committer
Alexander G. Pronchenkov
<the.zett@gmail.com>
Tue, 26 Jan 2010 11:44:39 +0000
(16:44 +0500)
bins.h
patch
|
blob
|
history
diff --git
a/bins.h
b/bins.h
index
69bf6f7
..
389a06f
100644
(file)
--- 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);