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.
This commit is contained in:
parent
5c7c80dd27
commit
b77fe9d624
2
3rdparty/openexr/IlmImf/ImfAttribute.cpp
vendored
2
3rdparty/openexr/IlmImf/ImfAttribute.cpp
vendored
@ -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…
Reference in New Issue
Block a user