add last backwards-compatible version

This commit is contained in:
2021-12-14 00:33:46 -07:00
parent 68b10d413b
commit b0dd3f07f3
335 changed files with 4746 additions and 19627 deletions

View File

@@ -148,13 +148,11 @@ namespace pfc {
template<typename _t_key> bool get_first(_t_key & p_out) const {
t_retrieve_key<_t_key> wrap(p_out);
return m_data.get_first(wrap);
return m_data.get_first(t_retrieve_key<_t_key>(p_out));
}
template<typename _t_key> bool get_last(_t_key & p_out) const {
t_retrieve_key<_t_key> wrap(p_out);
return m_data.get_last(wrap);
return m_data.get_last(t_retrieve_key<_t_key>(p_out));
}