aboutsummaryrefslogtreecommitdiff
path: root/dw/ooffloatsmgr.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2016-06-26 21:10:29 +0200
committerSebastian Geerken <devnull@localhost>2016-06-26 21:10:29 +0200
commit40e01c0a5b6eac3494f3d3add93cf0907d286c13 (patch)
treea0c781ee04c59942c026d41406b0a3444b42183b /dw/ooffloatsmgr.hh
parent1fe97eb1c9fd0786aadf04eb9cf8588a57fc7600 (diff)
Fix memory leak (OOFFloatsMgr::Float).
Diffstat (limited to 'dw/ooffloatsmgr.hh')
-rw-r--r--dw/ooffloatsmgr.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/dw/ooffloatsmgr.hh b/dw/ooffloatsmgr.hh
index c342f4a7..fdc59fb4 100644
--- a/dw/ooffloatsmgr.hh
+++ b/dw/ooffloatsmgr.hh
@@ -102,8 +102,9 @@ private:
Side side;
public:
- inline SortedFloatsVector (OOFFloatsMgr *oofm, Side side) :
- lout::container::typed::Vector<Float> (1, false)
+ inline SortedFloatsVector (OOFFloatsMgr *oofm, Side side,
+ bool ownerOfObjects) :
+ lout::container::typed::Vector<Float> (1, ownerOfObjects)
{ this->oofm = oofm; this->side = side; }
int findFloatIndex (OOFAwareWidget *lastGB, int lastExtIndex);