diff options
| author | 2021-06-07 07:43:03 +0100 | |
|---|---|---|
| committer | 2021-06-07 10:40:18 +0100 | |
| commit | cefae0ed22ffce622c65024b54305bdd0bb58004 (patch) | |
| tree | 798b328ca96d7ed67cbd0dbc87b10dc1a5f93615 /include/flat_map.h | |
| parent | Merge branch 'insp3' into master. (diff) | |
Fix MSVC compatibility issues.
Diffstat (limited to 'include/flat_map.h')
| -rw-r--r-- | include/flat_map.h | 4 |
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; |
