From cefae0ed22ffce622c65024b54305bdd0bb58004 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 7 Jun 2021 07:43:03 +0100 Subject: Fix MSVC compatibility issues. --- include/flat_map.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include/flat_map.h') diff --git a/include/flat_map.h b/include/flat_map.h index f735ca669..b53a95ca2 100644 --- a/include/flat_map.h +++ b/include/flat_map.h @@ -52,11 +52,9 @@ class map_pair_compare : public Comp }; template -class map_value_compare : public std::binary_function +class map_value_compare { public: - // Constructor should be private - bool operator()(const Val& x, const Val& y) const { Comp c; -- cgit v1.3.1-10-gc9f91