mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
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:
parent
318ce174a4
commit
7c357b0628
2 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue