From e82ad1cdc5aff723cfc84a775cc9e510e0276d4e Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Thu, 4 Feb 2021 02:16:37 -0800 Subject: [PATCH] util: add FixedMap::clear --- libraries/libvapours/include/vapours/util/util_fixed_map.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/libvapours/include/vapours/util/util_fixed_map.hpp b/libraries/libvapours/include/vapours/util/util_fixed_map.hpp index 0da472b5f..1e8058223 100644 --- a/libraries/libvapours/include/vapours/util/util_fixed_map.hpp +++ b/libraries/libvapours/include/vapours/util/util_fixed_map.hpp @@ -62,6 +62,8 @@ namespace ams::util { ALWAYS_INLINE std::pair insert(const KeyValuePair &pair) { return m_tree.insert(pair); } ALWAYS_INLINE size_t size() const { return m_tree.size(); } + + ALWAYS_INLINE void clear() { return m_tree.clear(); } }; }