aboutsummaryrefslogtreecommitdiff
path: root/include/flat_map.h
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-06-07 07:43:03 +0100
committerGravatar Sadie Powell2021-06-07 10:40:18 +0100
commitcefae0ed22ffce622c65024b54305bdd0bb58004 (patch)
tree798b328ca96d7ed67cbd0dbc87b10dc1a5f93615 /include/flat_map.h
parentMerge branch 'insp3' into master. (diff)
Fix MSVC compatibility issues.
Diffstat (limited to 'include/flat_map.h')
-rw-r--r--include/flat_map.h4
1 files changed, 1 insertions, 3 deletions
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 <typename Val, typename Comp>
-class map_value_compare : public std::binary_function<Val, Val, bool>
+class map_value_compare
{
public:
- // Constructor should be private
-
bool operator()(const Val& x, const Val& y) const
{
Comp c;