MT#62181 hash_table: remove unused class

Obviously the intent was to have reference-counted pointers as table
value, but this isn't used anywhere, and anyway would be better
implemented using a shared_ptr.

Change-Id: I4df6e874d402d615f654f3a8df3195fe6dda46bb
master
Richard Fuchs 1 month ago
parent 0e738770b7
commit 2eb9cf59cc

@ -135,19 +135,6 @@ public:
}
};
template<class Value>
class ht_ref_cnt
{
public:
Value* new_elmt(Value* v) {
inc_ref(v);
return v;
}
void dispose(Value* v) {
dec_ref(v);
}
};
template<class Key, class Value,
class ElmtAlloc = ht_delete<Value>,
class ElmtCompare = less<Key> >

Loading…
Cancel
Save