diff --git a/libgnucash/engine/kvp-frame.hpp b/libgnucash/engine/kvp-frame.hpp index c84cf18a4d..253eec3187 100644 --- a/libgnucash/engine/kvp-frame.hpp +++ b/libgnucash/engine/kvp-frame.hpp @@ -235,20 +235,6 @@ struct KvpFrameImpl KvpValue * set_impl (std::string const &, KvpValue *) noexcept; }; -template -void KvpFrame::for_each_slot_prefix(std::string const & prefix, - func_type const & func) const noexcept -{ - std::for_each (m_valuemap.begin(), m_valuemap.end(), - [&prefix,&func](const KvpFrameImpl::map_type::value_type & a) - { - /* Testing for prefix matching */ - if (strncmp(a.first, prefix.c_str(), prefix.size()) == 0) - func (&a.first[prefix.size()], a.second); - } - ); -} - template void KvpFrame::for_each_slot_prefix(std::string const & prefix, func_type const & func, data_type & data) const noexcept