remove deprecated std::binary_function

This commit is contained in:
wmayer
2020-05-11 13:46:37 +02:00
parent 4d8db6474b
commit 618089d6d8
13 changed files with 41 additions and 42 deletions

View File

@@ -598,7 +598,7 @@ bool QuasiDelaunayTriangulator::Triangulate()
namespace MeshCore {
namespace Triangulation {
struct Vertex2d_Less : public std::binary_function<const Base::Vector3f&, const Base::Vector3f&, bool>
struct Vertex2d_Less
{
bool operator()(const Base::Vector3f& p, const Base::Vector3f& q) const
{
@@ -608,7 +608,7 @@ struct Vertex2d_Less : public std::binary_function<const Base::Vector3f&, const
} else return p.x < q.x;
}
};
struct Vertex2d_EqualTo : public std::binary_function<const Base::Vector3f&, const Base::Vector3f&, bool>
struct Vertex2d_EqualTo
{
bool operator()(const Base::Vector3f& p, const Base::Vector3f& q) const
{