Remove more String8
Change-Id: I2b43c3c104eab7cb3b6573bea4858f6c2d0a76ca
diff --git a/rsElement.h b/rsElement.h
index 32cfda1..b97dfe5 100644
--- a/rsElement.h
+++ b/rsElement.h
@@ -83,7 +83,7 @@
uint32_t getFieldCount() const {return mFieldCount;}
const Element * getField(uint32_t idx) const {return mFields[idx].e.get();}
- const char * getFieldName(uint32_t idx) const {return mFields[idx].name.string();}
+ const char * getFieldName(uint32_t idx) const {return mFields[idx].name;}
uint32_t getFieldArraySize(uint32_t idx) const {return mFields[idx].arraySize;}
const Component & getComponent() const {return mComponent;}
@@ -137,7 +137,7 @@
void clear();
typedef struct {
- String8 name;
+ const char *name;
ObjectBaseRef<const Element> e;
uint32_t offsetBits;
uint32_t offsetBitsUnpadded;