Loading tools/aapt/StringPool.h +9 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ #include <androidfw/ResourceTypes.h> #include <utils/String16.h> #include <utils/TextOutput.h> #include <utils/TypeHelpers.h> #include <sys/types.h> #include <sys/stat.h> Loading Loading @@ -193,5 +194,13 @@ private: Vector<size_t> mOriginalPosToNewPos; }; // The entry types are trivially movable because all fields they contain, including // the vectors and strings, are trivially movable. namespace android { ANDROID_TRIVIAL_MOVE_TRAIT(StringPool::entry); ANDROID_TRIVIAL_MOVE_TRAIT(StringPool::entry_style_span); ANDROID_TRIVIAL_MOVE_TRAIT(StringPool::entry_style); }; #endif Loading
tools/aapt/StringPool.h +9 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ #include <androidfw/ResourceTypes.h> #include <utils/String16.h> #include <utils/TextOutput.h> #include <utils/TypeHelpers.h> #include <sys/types.h> #include <sys/stat.h> Loading Loading @@ -193,5 +194,13 @@ private: Vector<size_t> mOriginalPosToNewPos; }; // The entry types are trivially movable because all fields they contain, including // the vectors and strings, are trivially movable. namespace android { ANDROID_TRIVIAL_MOVE_TRAIT(StringPool::entry); ANDROID_TRIVIAL_MOVE_TRAIT(StringPool::entry_style_span); ANDROID_TRIVIAL_MOVE_TRAIT(StringPool::entry_style); }; #endif