# HG changeset patch # User deba # Date 1113917624 0 # Node ID bcfa3980b4322a4f3b999688dc53db5b6cd562d6 # Parent 284841d50d6347ea4f3f134ed8c26eac5329b7ac Call the default constructor of the ObserverBase. diff -r 284841d50d63 -r bcfa3980b432 src/lemon/bits/array_map.h --- a/src/lemon/bits/array_map.h Tue Apr 19 06:51:37 2005 +0000 +++ b/src/lemon/bits/array_map.h Tue Apr 19 13:33:44 2005 +0000 @@ -96,7 +96,7 @@ /** Constructor to copy a map of the same map type. */ - ArrayMap(const ArrayMap& copy) { + ArrayMap(const ArrayMap& copy) : Parent() { if (copy.attached()) { attach(*copy.getRegistry()); } diff -r 284841d50d63 -r bcfa3980b432 src/lemon/bits/vector_map.h --- a/src/lemon/bits/vector_map.h Tue Apr 19 06:51:37 2005 +0000 +++ b/src/lemon/bits/vector_map.h Tue Apr 19 13:33:44 2005 +0000 @@ -109,7 +109,8 @@ container.resize(graph->maxId(_Item()) + 1, _v); } - VectorMap(const VectorMap& _copy) : graph(_copy.getGraph()) { + VectorMap(const VectorMap& _copy) + : Parent(), graph(_copy.getGraph()) { if (_copy.attached()) { attach(*_copy.getRegistry()); container = _copy.container;