Remove use of std::binary_function

This commit is contained in:
Josh Holtrop 2026-06-15 08:27:20 -04:00
parent d1b558a554
commit 8f09415b37
2 changed files with 0 additions and 5 deletions

View File

@ -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"

View File

@ -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)