diff options
| author | 2022-06-23 21:22:04 +0100 | |
|---|---|---|
| committer | 2022-06-23 21:22:04 +0100 | |
| commit | fe9107c992ae46d52b55fe96f6836dc79c2baa70 (patch) | |
| tree | b0f95ccadc13fbe7ea70ef6d0698934b2004844c /include/flat_map.h | |
| parent | Fix the modehandlers array being bigger than necessary (diff) | |
Modernize the syntax of various templates.
Diffstat (limited to 'include/flat_map.h')
| -rw-r--r-- | include/flat_map.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/flat_map.h b/include/flat_map.h index ffc6eb5b6..7a5aa4805 100644 --- a/include/flat_map.h +++ b/include/flat_map.h @@ -312,9 +312,9 @@ public: template <typename T, typename U, typename Comp = std::less<T>, typename ElementComp = Comp > class flat_map - : public detail::flat_map_base<std::pair<T, U>, Comp, T, detail::map_pair_compare<std::pair<T, U>, ElementComp> > + : public detail::flat_map_base<std::pair<T, U>, Comp, T, detail::map_pair_compare<std::pair<T, U>, ElementComp>> { - typedef detail::flat_map_base<std::pair<T, U>, Comp, T, detail::map_pair_compare<std::pair<T, U>, ElementComp> > base_type; + typedef detail::flat_map_base<std::pair<T, U>, Comp, T, detail::map_pair_compare<std::pair<T, U>, ElementComp>> base_type; public: typedef typename base_type::iterator iterator; @@ -380,9 +380,9 @@ public: template <typename T, typename U, typename Comp = std::less<T>, typename ElementComp = Comp > class flat_multimap - : public detail::flat_map_base<std::pair<T, U>, Comp, T, detail::map_pair_compare<std::pair<T, U>, ElementComp> > + : public detail::flat_map_base<std::pair<T, U>, Comp, T, detail::map_pair_compare<std::pair<T, U>, ElementComp>> { - typedef detail::flat_map_base<std::pair<T, U>, Comp, T, detail::map_pair_compare<std::pair<T, U>, ElementComp> > base_type; + typedef detail::flat_map_base<std::pair<T, U>, Comp, T, detail::map_pair_compare<std::pair<T, U>, ElementComp>> base_type; public: typedef typename base_type::iterator iterator; |
