add last backwards-compatible version
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user