OSDN Git Service

Merge "Erase elements in LinkedList::remove_if"
authorDmitriy Ivanov <dimitry@google.com>
Mon, 1 Sep 2014 21:06:32 +0000 (21:06 +0000)
committerGerrit Code Review <noreply-gerritcodereview@google.com>
Mon, 1 Sep 2014 21:06:32 +0000 (21:06 +0000)
1  2 
linker/linker.cpp

@@@ -606,9 -606,11 +606,11 @@@ done
          return s;
      }
  
 -    return NULL;
 +    return nullptr;
  }
  
  // Another soinfo list allocator to use in dlsym. We don't reuse
  // SoinfoListAllocator because it is write-protected most of the time.
  static LinkerAllocator<LinkedListEntry<soinfo>> g_soinfo_list_allocator_rw;