summaryrefslogtreecommitdiffstats
path: root/include/utils/VectorImpl.h
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-06-22 01:17:46 -0700
committerMathias Agopian <mathias@google.com>2009-06-22 02:31:07 -0700
commit5f28411a856e47f86e3b0c7c031a6c0e0fa1dba0 (patch)
tree03fa00a09e37bcd669832a39fcf8a2dacd1a2260 /include/utils/VectorImpl.h
parent8e56914aab569c58a2942ef11c732f469109bb24 (diff)
downloadframeworks_native-5f28411a856e47f86e3b0c7c031a6c0e0fa1dba0.zip
frameworks_native-5f28411a856e47f86e3b0c7c031a6c0e0fa1dba0.tar.gz
frameworks_native-5f28411a856e47f86e3b0c7c031a6c0e0fa1dba0.tar.bz2
improve Vector<> with types that can be trivially moved and remove some unused code.
This optimization applies to sp<> and wp<> which should now perform about the same as regular pointers when placed in to Vector<>.
Diffstat (limited to 'include/utils/VectorImpl.h')
-rw-r--r--include/utils/VectorImpl.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/utils/VectorImpl.h b/include/utils/VectorImpl.h
index 2525229..49b03f1 100644
--- a/include/utils/VectorImpl.h
+++ b/include/utils/VectorImpl.h
@@ -44,7 +44,6 @@ public:
HAS_TRIVIAL_CTOR = 0x00000001,
HAS_TRIVIAL_DTOR = 0x00000002,
HAS_TRIVIAL_COPY = 0x00000004,
- HAS_TRIVIAL_ASSIGN = 0x00000008
};
VectorImpl(size_t itemSize, uint32_t flags);