diff options
author | 2015-10-30 18:05:31 +0000 | |
---|---|---|
committer | 2015-10-30 18:05:31 +0000 | |
commit | 030cfd3da697d51bf1bffd076881c12acedd851e (patch) | |
tree | b10071f3ec72837a39c2ba9202061e02034e5d3b /tools/aapt2/ResourceValues.cpp | |
parent | 1f1ed6e26dd88e940807fea197e6a1bf5bb3f0a3 (diff) | |
parent | e78fd617ec60139a973a01925fa7adad31febb39 (diff) |
Merge "AAPT2: Move comments and source into Value"
Diffstat (limited to 'tools/aapt2/ResourceValues.cpp')
-rw-r--r-- | tools/aapt2/ResourceValues.cpp | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/tools/aapt2/ResourceValues.cpp b/tools/aapt2/ResourceValues.cpp index ecc5cd2bdcfa..f312d75ab1e9 100644 --- a/tools/aapt2/ResourceValues.cpp +++ b/tools/aapt2/ResourceValues.cpp @@ -15,11 +15,12 @@ */ #include "Resource.h" -#include "flatten/ResourceTypeExtensions.h" #include "ResourceValues.h" -#include "util/Util.h" #include "ValueVisitor.h" +#include "util/Util.h" +#include "flatten/ResourceTypeExtensions.h" + #include <androidfw/ResourceTypes.h> #include <limits> @@ -35,18 +36,10 @@ void BaseItem<Derived>::accept(RawValueVisitor* visitor) { visitor->visit(static_cast<Derived*>(this)); } -bool Value::isItem() const { - return false; -} - bool Value::isWeak() const { return false; } -bool Item::isItem() const { - return true; -} - RawString::RawString(const StringPool::Ref& ref) : value(ref) { } |