diff options
author | Mathias Agopian <mathias@google.com> | 2009-04-10 20:27:25 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2009-04-10 20:27:25 -0700 |
commit | 2b2fb1a69394edd58666b89597c560442ccc3a90 (patch) | |
tree | be95e4f2a92c0127480ca98e352d6742b78fd3a7 /include/utils/KeyedVector.h | |
parent | 0308739d0beef940588bf8bb693b91d0c2936d67 (diff) | |
download | frameworks_native-2b2fb1a69394edd58666b89597c560442ccc3a90.zip frameworks_native-2b2fb1a69394edd58666b89597c560442ccc3a90.tar.gz frameworks_native-2b2fb1a69394edd58666b89597c560442ccc3a90.tar.bz2 |
fix KeyedVector::replaceValueAt, which wouldn't even compile if used.
Diffstat (limited to 'include/utils/KeyedVector.h')
-rw-r--r-- | include/utils/KeyedVector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/utils/KeyedVector.h b/include/utils/KeyedVector.h index f4513ee..6bcdea4 100644 --- a/include/utils/KeyedVector.h +++ b/include/utils/KeyedVector.h @@ -164,7 +164,7 @@ ssize_t KeyedVector<KEY,VALUE>::replaceValueFor(const KEY& key, const VALUE& val template<typename KEY, typename VALUE> inline ssize_t KeyedVector<KEY,VALUE>::replaceValueAt(size_t index, const VALUE& item) { if (index<size()) { - mVector.editValueAt(index).value = item; + mVector.editItemAt(index).value = item; return index; } return BAD_INDEX; |