diff --git a/lib/base/registry.hpp b/lib/base/registry.hpp index 8742597644..5a8ac26f75 100644 --- a/lib/base/registry.hpp +++ b/lib/base/registry.hpp @@ -30,25 +30,6 @@ class Registry RegisterInternal(name, item, lock); } - void Clear() - { - typename Registry::ItemMap items; - - { - std::unique_lock lock(m_Mutex); - items = m_Items; - } - - for (const auto& kv : items) { - OnUnregistered(kv.first); - } - - { - std::unique_lock lock(m_Mutex); - m_Items.clear(); - } - } - T GetItem(const String& name) const { std::unique_lock lock(m_Mutex);