提交 3ab35541 编写于 作者: A andrew

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

Summary: Templates need this object if not using template parameter in call
Reviewed-by: coleenp, kamg, dholmes
上级 0415c2a3
......@@ -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();
......
......@@ -260,7 +260,7 @@ protected:
}
int index_for(Symbol* name) {
return hash_to_index(compute_hash(name));
return this->hash_to_index(compute_hash(name));
}
// Table entry management
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册