summaryrefslogtreecommitdiff
path: root/tools/aapt2/ResourceValues.cpp
diff options
context:
space:
mode:
author Adam Lesinski <adamlesinski@google.com> 2015-10-30 18:05:31 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2015-10-30 18:05:31 +0000
commit030cfd3da697d51bf1bffd076881c12acedd851e (patch)
treeb10071f3ec72837a39c2ba9202061e02034e5d3b /tools/aapt2/ResourceValues.cpp
parent1f1ed6e26dd88e940807fea197e6a1bf5bb3f0a3 (diff)
parente78fd617ec60139a973a01925fa7adad31febb39 (diff)
Merge "AAPT2: Move comments and source into Value"
Diffstat (limited to 'tools/aapt2/ResourceValues.cpp')
-rw-r--r--tools/aapt2/ResourceValues.cpp13
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) {
}