diff options
author | 2016-02-13 06:28:06 +0000 | |
---|---|---|
committer | 2016-02-13 06:28:06 +0000 | |
commit | 923e6342fbf40fb3d6d5fe02ae4821e58e43ff52 (patch) | |
tree | 3df3c693d5e62563f96ab431260c37c57db2d551 /tools/aapt2/Debug.cpp | |
parent | f4ff39c92be840d5f53c42cb02cef6b03a1ca70f (diff) | |
parent | e4bb9eb5af5b0899dc0921d5580220b20e15bd5a (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.cpp | 6 |
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()); |