removed unnecessary iheritance from deprecated std::binary_function
This commit is contained in:
parent
920ca0a932
commit
b36ec50e35
|
|
@ -213,12 +213,19 @@ public:
|
||||||
typedef SimpleTempData<std::vector<VertexType>, TempData > TempDataType;
|
typedef SimpleTempData<std::vector<VertexType>, TempData > TempDataType;
|
||||||
|
|
||||||
|
|
||||||
struct pred: public std::binary_function<VertDist,VertDist,bool>{
|
class pred {
|
||||||
pred(){}
|
public:
|
||||||
bool operator()(const VertDist& v0, const VertDist& v1) const
|
pred () {};
|
||||||
{return (v0.d > v1.d);}
|
bool operator()(const VertDist& v0, const VertDist& v1) const
|
||||||
|
{return (v0.d > v1.d);}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//struct pred: public std::binary_function<VertDist,VertDist,bool>{
|
||||||
|
// pred(){}
|
||||||
|
// bool operator()(const VertDist& v0, const VertDist& v1) const
|
||||||
|
// {return (v0.d > v1.d);}
|
||||||
|
//};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
curr: vertex for which distance should be estimated
|
curr: vertex for which distance should be estimated
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue