COIN-OR::LEMON - Graph Library

Changeset 941:a93f1a27d831 in lemon


Ignore:
Timestamp:
03/08/10 08:33:41 (9 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Phase:
public
Message:

Fix gcc 3.3 compilation error (#354)

gcc 3.3 requires that a class has a default constructor if it has
template named parameters. (That constructor can be protected.)

Location:
lemon
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • lemon/capacity_scaling.h

    r911 r941  
    302302    /// @}
    303303
     304  protected:
     305
     306    CapacityScaling() {}
     307
    304308  public:
    305309
  • lemon/cost_scaling.h

    r911 r941  
    325325
    326326    /// @}
     327
     328  protected:
     329
     330    CostScaling() {}
    327331
    328332  public:
  • lemon/hartmann_orlin.h

    r914 r941  
    241241
    242242    /// @}
     243
     244  protected:
     245
     246    HartmannOrlin() {}
    243247
    244248  public:
  • lemon/howard.h

    r914 r941  
    232232    /// @}
    233233
     234  protected:
     235
     236    Howard() {}
     237
    234238  public:
    235239
  • lemon/karp.h

    r914 r941  
    238238    /// @}
    239239
     240  protected:
     241
     242    Karp() {}
     243
    240244  public:
    241245
  • lemon/suurballe.h

    r931 r941  
    404404    bool _full_init;
    405405
     406  protected:
     407
     408    Suurballe() {}
     409
    406410  public:
    407411
Note: See TracChangeset for help on using the changeset viewer.