1.1 --- a/src/lemon/default_map.h Mon Oct 04 16:03:25 2004 +0000
1.2 +++ b/src/lemon/default_map.h Mon Oct 04 17:13:21 2004 +0000
1.3 @@ -59,12 +59,9 @@
1.4 : Parent(static_cast<const Parent&>(copy)) {} \
1.5 template <typename TT> \
1.6 DefaultMap(const DefaultMap<MapRegistry, TT>& copy) \
1.7 - : { \
1.8 - Parent::MapBase::operator= \
1.9 - (static_cast<const typename Parent::MapBase&>(copy)); \
1.10 + : Parent(*copy.getGraph()) { \
1.11 if (Parent::getGraph()) { \
1.12 for (typename Parent::KeyIt it(*Parent::getGraph()); it!=INVALID; ++it) {\
1.13 - Parent::add(it); \
1.14 Parent::operator[](it) = copy[it]; \
1.15 } \
1.16 } \