Remove use of std::binary_function
This commit is contained in:
parent
d1b558a554
commit
8f09415b37
@ -7,7 +7,6 @@
|
|||||||
#include <utility> /* pair */
|
#include <utility> /* pair */
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <algorithm> /* sort() */
|
#include <algorithm> /* sort() */
|
||||||
#include <functional> /* binary_function */
|
|
||||||
#include <typeinfo> /* typeid operator support */
|
#include <typeinfo> /* typeid operator support */
|
||||||
|
|
||||||
#include "Scene.h"
|
#include "Scene.h"
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
|
|
||||||
#include "Shape.h"
|
#include "Shape.h"
|
||||||
#include <algorithm> /* sort() */
|
#include <algorithm> /* sort() */
|
||||||
#include <functional> /* binary_function */
|
|
||||||
#include <utility>
|
#include <utility>
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
@ -28,9 +27,6 @@ void Shape::setMaterial(refptr<Material> material)
|
|||||||
}
|
}
|
||||||
|
|
||||||
class BoolIntersectionComparator
|
class BoolIntersectionComparator
|
||||||
: public std::binary_function<Shape::BoolIntersection,
|
|
||||||
Shape::BoolIntersection,
|
|
||||||
bool>
|
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
BoolIntersectionComparator(const Vector & refPoint)
|
BoolIntersectionComparator(const Vector & refPoint)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user