@@ -123,7 +123,7 @@ class Map : public Object<Map<KeyType, ContentType>, Pair>
123123 * @brief Get a map entry by index, if it exists
124124 * @note Result validity can be checked using if()
125125 */
126- const Pair valueAt (unsigned index) const
126+ FSTR_ALIGN32 const Pair valueAt (unsigned index) const
127127 {
128128 if (index >= this ->length ()) {
129129 return Pair::empty ();
@@ -139,7 +139,7 @@ class Map : public Object<Map<KeyType, ContentType>, Pair>
139139 * @retval int If key isn't found, return -1
140140 */
141141 template <typename TRefKey, typename T = KeyType>
142- typename std::enable_if<!std::is_class<T>::value, int >::type indexOf (const TRefKey& key) const
142+ FSTR_ALIGN32 typename std::enable_if<!std::is_class<T>::value, int >::type indexOf (const TRefKey& key) const
143143 {
144144 auto p = this ->data ();
145145 auto len = this ->length ();
@@ -159,8 +159,8 @@ class Map : public Object<Map<KeyType, ContentType>, Pair>
159159 * @retval int If key isn't found, return -1
160160 */
161161 template <typename TRefKey, typename T = KeyType>
162- typename std::enable_if<std::is_same<T, String>::value, int >::type indexOf ( const TRefKey& key,
163- bool ignoreCase = true ) const
162+ FSTR_ALIGN32 typename std::enable_if<std::is_same<T, String>::value, int >::type
163+ indexOf ( const TRefKey& key, bool ignoreCase = true ) const
164164 {
165165 auto p = this ->data ();
166166 auto len = this ->length ();
0 commit comments