diff options
author | Sebastian Geerken <devnull@localhost> | 2016-01-01 20:14:46 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2016-01-01 20:14:46 +0100 |
commit | bcf31f50c46dac457fe7f0fdd1f88331e07c9e60 (patch) | |
tree | 9e12f920cf6be2032bfead5b69e1d717ef62e1d6 /dw/tools.hh | |
parent | dc6e85ba555ab76f0e13495955690875c8b1a8d4 (diff) |
Fix memory problem.
Diffstat (limited to 'dw/tools.hh')
-rw-r--r-- | dw/tools.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dw/tools.hh b/dw/tools.hh index 60435c5a..2f8ff0b5 100644 --- a/dw/tools.hh +++ b/dw/tools.hh @@ -39,9 +39,11 @@ private: public: SizeParams (); SizeParams (int numPos, Widget **references, int *x, int *y); - SizeParams (SizeParams &other); + SizeParams (const SizeParams &other); ~SizeParams (); + SizeParams &operator=(const SizeParams &other); + void fill (int numPos, Widget **references, int *x, int *y); void forChild (Widget *parent, Widget *child, int xRel, int yRel, SizeParams *childParams); |