mirror of https://github.com/CGAL/cgal
in class Inverted_weighted_point I renamed the type Site_2 to K_Site_2 to satisfy
the VC7 compiler...
This commit is contained in:
parent
d64c427af4
commit
1d8d6ef5df
|
|
@ -35,13 +35,13 @@ class Inverted_weighted_point
|
|||
: public K::Site_2
|
||||
{
|
||||
public:
|
||||
typedef typename K::Site_2 Site_2;
|
||||
typedef typename K::Site_2 K_Site_2;
|
||||
typedef typename K::FT FT;
|
||||
private:
|
||||
FT _p;
|
||||
public:
|
||||
Inverted_weighted_point(const Site_2& wp, const FT& p)
|
||||
: Site_2(wp), _p(p) {}
|
||||
Inverted_weighted_point(const K_Site_2& wp, const FT& p)
|
||||
: K_Site_2(wp), _p(p) {}
|
||||
|
||||
inline FT p() const { return _p; }
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue