Merge "Merge "Remove has_trivial_move trait from StringPool types" am: d333f28397 am: 6f02f57f12" into nyc-dev-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
8ac28b8659
@@ -12,7 +12,6 @@
|
|||||||
|
|
||||||
#include <androidfw/ResourceTypes.h>
|
#include <androidfw/ResourceTypes.h>
|
||||||
#include <utils/String16.h>
|
#include <utils/String16.h>
|
||||||
#include <utils/TypeHelpers.h>
|
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
@@ -179,13 +178,5 @@ private:
|
|||||||
Vector<size_t> mOriginalPosToNewPos;
|
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
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user