Revert "Fix relocation to look for symbols in local group"

This reverts commit fd2747bb58.

Bug: 18222321
Bug: 18211780
Change-Id: I2d4ebab1e73b7277161af76b99f8249825b22d65
This commit is contained in:
Dmitriy Ivanov
2014-11-03 21:15:25 -08:00
parent eae0977255
commit 00dce52553
14 changed files with 162 additions and 688 deletions

View File

@@ -86,7 +86,7 @@ class LinkedList {
}
template<typename F>
void for_each(F action) const {
void for_each(F action) {
visit([&] (T* si) {
action(si);
return true;
@@ -94,7 +94,7 @@ class LinkedList {
}
template<typename F>
bool visit(F action) const {
bool visit(F action) {
for (LinkedListEntry<T>* e = head_; e != nullptr; e = e->next) {
if (!action(e->element)) {
return false;