diff options
author | 2016-02-04 15:59:23 -0800 | |
---|---|---|
committer | 2016-02-09 19:59:17 +0000 | |
commit | 59e04c6f92da584b322c87072f18e6cab4de4c60 (patch) | |
tree | c08dd13ae57f9b6000441035201f226d532f8896 /tools/aapt2/ResourceValues.h | |
parent | 41466449aae2d304cf05680f5adbf44312d7a65e (diff) |
AAPT2: Switch to protobuf for intermediate format
Without needing to conform to the runtime data format,
it is much easier to add new features such as debugging symbols
and carrying over product data to link time.
This also simplifies the runtime format parser and serializer,
which will change much less frequently than the protobuf intermediate
format.
Change-Id: I209787bbf087db0a58a534cb8511c51d21133e00
Diffstat (limited to 'tools/aapt2/ResourceValues.h')
-rw-r--r-- | tools/aapt2/ResourceValues.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/aapt2/ResourceValues.h b/tools/aapt2/ResourceValues.h index 8e317dbcd1b1..dc2e28ee3abd 100644 --- a/tools/aapt2/ResourceValues.h +++ b/tools/aapt2/ResourceValues.h @@ -154,8 +154,8 @@ struct Reference : public BaseItem<Reference> { bool privateReference = false; Reference(); - Reference(const ResourceNameRef& n, Type type = Type::kResource); - Reference(const ResourceId& i, Type type = Type::kResource); + explicit Reference(const ResourceNameRef& n, Type type = Type::kResource); + explicit Reference(const ResourceId& i, Type type = Type::kResource); bool flatten(android::Res_value* outValue) const override; Reference* clone(StringPool* newPool) const override; |