7186278: Build error after CR#6995781 / 7151532 with GCC 4.7.0

Templates need this object if not using template parameter in call

Reviewed-by: coleenp, kamg, dholmes
This commit is contained in:
Andrew John Hughes 2012-07-31 16:01:56 -04:00
parent 318ce174a4
commit 7c357b0628
2 changed files with 2 additions and 2 deletions

View file

@ -135,7 +135,7 @@ template <class T, MEMFLAGS F> void Hashtable<T, F>::move_to(Hashtable<T, F>* ne
// walking the hashtable past these entries requires
// BasicHashtableEntry::make_ptr() call.
bool keep_shared = p->is_shared();
unlink_entry(p);
this->unlink_entry(p);
new_table->add_entry(index, p);
if (keep_shared) {
p->set_shared();