COIN-OR::LEMON - Graph Library

Changeset 1374:bcfa3980b432 in lemon-0.x


Ignore:
Timestamp:
04/19/05 15:33:44 (15 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1819
Message:

Call the default constructor of the ObserverBase?.

Location:
src/lemon/bits
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/lemon/bits/array_map.h

    r1359 r1374  
    9797    /** Constructor to copy a map of the same map type.
    9898     */
    99     ArrayMap(const ArrayMap& copy) {
     99    ArrayMap(const ArrayMap& copy) : Parent() {
    100100      if (copy.attached()) {
    101101        attach(*copy.getRegistry());
  • src/lemon/bits/vector_map.h

    r1359 r1374  
    110110    }
    111111
    112     VectorMap(const VectorMap& _copy) : graph(_copy.getGraph()) {
     112    VectorMap(const VectorMap& _copy)
     113      : Parent(), graph(_copy.getGraph()) {
    113114      if (_copy.attached()) {
    114115        attach(*_copy.getRegistry());
Note: See TracChangeset for help on using the changeset viewer.