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{ namespace vcg{
// hashing function // hashing function
struct HashFunctor : public std::unary_function<Point3i, size_t> struct HashFunctor
{ {
enum enum
{ // parameters for hash table { // parameters for hash table

View File

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