From e3e7ca17d5eac593747bc2227de9b29ea576219c Mon Sep 17 00:00:00 2001 From: Peter Marheine Date: Mon, 18 Sep 2023 17:13:49 +1000 Subject: [PATCH] Remove use of std::binary_function This is unneeded after c++11, and broken from c++17. Fixes https://github.com/alberthdev/spasm-ng/issues/73 --- hash.h | 1 - 1 file changed, 1 deletion(-) diff --git a/hash.h b/hash.h index 808bcd7..9de69e7 100644 --- a/hash.h +++ b/hash.h @@ -10,7 +10,6 @@ typedef struct { } store_t; struct comparator - : public std::binary_function { bool operator()(const char * _Left, const char *_Right) const {