From e36525963547a3a9e0028b17a147c79d18e08222 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 17 Nov 2013 19:21:18 +0100 Subject: [PATCH] Shapes: fix copy constructor in Composition. The test now passes again. --- src/Shapes/Composition.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Shapes/Composition.cpp b/src/Shapes/Composition.cpp index 08c424180..456071772 100644 --- a/src/Shapes/Composition.cpp +++ b/src/Shapes/Composition.cpp @@ -59,7 +59,7 @@ Because these values are relative to parent, they don't need to be modified when concatenating. */ -template Composition::Composition(const Composition& other) { +template Composition::Composition(const Composition& other): _shapes(other._shapes.size()), _nodes(other._nodes.size()) { copyShapes(0, other); copyNodes(0, other); }