diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2020-08-02 14:48:01 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-08-02 14:48:01 +0000 |
commit | 0f4bdb04fb4b803bbf19850c86cc9270d64a06b9 (patch) | |
tree | 7b49e6acf916ebd6d20d7136baf1e804c3366eeb /linker/linker_namespaces.cpp | |
parent | 89f907cfe444cc0f78de683549ec1350da36e39e (diff) | |
parent | 30f2f053f27731e091923a162b91439ee667944f (diff) |
Merge "linker: Cleanup for Android's inclusive language guidance"
Diffstat (limited to 'linker/linker_namespaces.cpp')
-rw-r--r-- | linker/linker_namespaces.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/linker/linker_namespaces.cpp b/linker/linker_namespaces.cpp index b9936891d..518212971 100644 --- a/linker/linker_namespaces.cpp +++ b/linker/linker_namespaces.cpp @@ -39,10 +39,9 @@ bool android_namespace_t::is_accessible(const std::string& file) { return true; } - if (!whitelisted_libs_.empty()) { + if (!allowed_libs_.empty()) { const char *lib_name = basename(file.c_str()); - if (std::find(whitelisted_libs_.begin(), whitelisted_libs_.end(), - lib_name) == whitelisted_libs_.end()) { + if (std::find(allowed_libs_.begin(), allowed_libs_.end(), lib_name) == allowed_libs_.end()) { return false; } } |