summaryrefslogtreecommitdiff
path: root/lout
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-10 19:35:07 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-10 19:35:07 +0100
commitb70459d1949191d86f3e420985c4b3dedc85f81a (patch)
tree3b5ad3848a9a2ecaa7b56161657f04fa1f80e19b /lout
parent2b90e4a8893eba68b446383dd652804a74d7d23c (diff)
fix SimpleVector copy constructor
Diffstat (limited to 'lout')
-rw-r--r--lout/misc.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/lout/misc.hh b/lout/misc.hh
index 3bbf41dd..8cd67f78 100644
--- a/lout/misc.hh
+++ b/lout/misc.hh
@@ -113,6 +113,7 @@ public:
}
inline SimpleVector (const SimpleVector &o) {
+ this->array = NULL;
this->num = o.num;
this->numAlloc = o.numAlloc;
resize ();