diff --git a/lib/ordered_set.h b/lib/ordered_set.h index e61523c3b7..fd749bcfd3 100644 --- a/lib/ordered_set.h +++ b/lib/ordered_set.h @@ -53,7 +53,7 @@ class ordered_set { typedef std::reverse_iterator const_reverse_iterator; private: - struct mapcmp : std::binary_function { + struct mapcmp { COMP comp; bool operator()(const T *a, const T *b) const { return comp(*a, *b); } };