Remove std::binary_function as it's invalid C++

std::binary_function was deprecated with C++11 and removed in C++17. It provided just two typedefs which in this case were unused.
pull/17023/head
Conrad Poelman 5 years ago committed by Alexander Smorkalov
parent 5c7c80dd27
commit b77fe9d624
  1. 2
      3rdparty/openexr/IlmImf/ImfAttribute.cpp

@ -63,7 +63,7 @@ Attribute::~Attribute () {}
namespace {
struct NameCompare: std::binary_function <const char *, const char *, bool>
struct NameCompare
{
bool
operator () (const char *x, const char *y) const

Loading…
Cancel
Save