removed all deprecated std::unary_function

This commit is contained in:
Luigi Malomo 2020-10-16 14:43:39 +02:00
parent 659d2d12f2
commit d7cbcfa1dc
2 changed files with 2 additions and 9 deletions

View File

@ -33,10 +33,8 @@
namespace vcg{
// hashing function
struct HashFunctor : public std::unary_function<Point3i, size_t>
struct HashFunctor
{
enum
{ // parameters for hash table

View File

@ -52,10 +52,8 @@
namespace vcg{
// hashing function
struct HashFunctor2D : public std::unary_function<Point2i, size_t>
struct HashFunctor2D
{
enum
{ // parameters for hash table
@ -78,9 +76,6 @@ namespace vcg{
}
};
/** Spatial Hash Table
Spatial Hashing as described in
"Optimized Spatial Hashing for Coll ision Detection of Deformable Objects",