COIN-OR::LEMON - Graph Library

Changeset 184:716b220697a0 in lemon-1.2 for lemon/bits


Ignore:
Timestamp:
03/27/08 16:27:23 (16 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Message:

Fix gcc-4.3 compilation errors and warnings

Location:
lemon/bits
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lemon/bits/bezier.h

    r157 r184  
    3333class BezierBase {
    3434public:
    35   typedef Point<double> Point;
     35  typedef lemon::dim2::Point<double> Point;
    3636protected:
    3737  static Point conv(Point x,Point y,double t) {return (1-t)*x+t*y;}
  • lemon/bits/traits.h

    r139 r184  
    151151    typedef typename Map::Value Value;
    152152
    153     typedef const Value ConstReturnValue;
    154     typedef const Value ReturnValue;
     153    typedef Value ConstReturnValue;
     154    typedef Value ReturnValue;
    155155  };
    156156
     
    179179    typedef typename MatrixMap::Value Value;
    180180
    181     typedef const Value ConstReturnValue;
    182     typedef const Value ReturnValue;
     181    typedef Value ConstReturnValue;
     182    typedef Value ReturnValue;
    183183  };
    184184
Note: See TracChangeset for help on using the changeset viewer.