summaryrefslogtreecommitdiff
path: root/tools/aapt2/Debug.cpp
diff options
context:
space:
mode:
author Adam Lesinski <adamlesinski@google.com> 2016-02-13 06:28:06 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2016-02-13 06:28:06 +0000
commit923e6342fbf40fb3d6d5fe02ae4821e58e43ff52 (patch)
tree3df3c693d5e62563f96ab431260c37c57db2d551 /tools/aapt2/Debug.cpp
parentf4ff39c92be840d5f53c42cb02cef6b03a1ca70f (diff)
parente4bb9eb5af5b0899dc0921d5580220b20e15bd5a (diff)
Merge "AAPT2: Introduce notion of 'product' to ResourceTable" into nyc-dev
Diffstat (limited to 'tools/aapt2/Debug.cpp')
-rw-r--r--tools/aapt2/Debug.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/aapt2/Debug.cpp b/tools/aapt2/Debug.cpp
index b4e75f9be3a9..4bea12973692 100644
--- a/tools/aapt2/Debug.cpp
+++ b/tools/aapt2/Debug.cpp
@@ -144,8 +144,8 @@ void Debug::printTable(ResourceTable* table) {
PrintVisitor visitor;
for (const auto& value : entry->values) {
- std::cout << " (" << value.config << ") ";
- value.value->accept(&visitor);
+ std::cout << " (" << value->config << ") ";
+ value->value->accept(&visitor);
std::cout << std::endl;
}
}
@@ -176,7 +176,7 @@ void Debug::printStyleGraph(ResourceTable* table, const ResourceName& targetStyl
if (result) {
ResourceEntry* entry = result.value().entry;
for (const auto& value : entry->values) {
- if (Style* style = valueCast<Style>(value.value.get())) {
+ if (Style* style = valueCast<Style>(value->value.get())) {
if (style->parent && style->parent.value().name) {
parents.insert(style->parent.value().name.value());
stylesToVisit.push(style->parent.value().name.value());