removed all deprecated std::unary_function
This commit is contained in:
parent
659d2d12f2
commit
d7cbcfa1dc
|
|
@ -33,10 +33,8 @@
|
|||
|
||||
namespace vcg{
|
||||
|
||||
|
||||
|
||||
// hashing function
|
||||
struct HashFunctor : public std::unary_function<Point3i, size_t>
|
||||
struct HashFunctor
|
||||
{
|
||||
enum
|
||||
{ // parameters for hash table
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue