Refactoring: C++11 style DISABLE_ bionic marcos
Enable the -std=gnu++11 flag for libstdc++ static and
dynamic libs.
ScopeGuard uses DISABLE_ macros instead of '= delete';
(cherry picked from commit d9ff722661
)
Change-Id: If2573d080770e18b36b56106f2369f7bb682cd3c
This commit is contained in:
@@ -955,7 +955,7 @@ static bool find_libraries(const char* const library_names[], size_t library_nam
|
||||
SoinfoLinkedList found_libs;
|
||||
size_t soinfos_size = 0;
|
||||
|
||||
auto failure_guard = create_scope_guard([&]() {
|
||||
auto failure_guard = make_scope_guard([&]() {
|
||||
// Housekeeping
|
||||
load_tasks.for_each([] (LoadTask* t) {
|
||||
LoadTask::deleter(t);
|
||||
|
Reference in New Issue
Block a user