@@ -123,7 +123,7 @@ class Map : public Object<Map<KeyType, ContentType>, Pair>
123
123
* @brief Get a map entry by index, if it exists
124
124
* @note Result validity can be checked using if()
125
125
*/
126
- const Pair valueAt (unsigned index) const
126
+ FSTR_ALIGN32 const Pair valueAt (unsigned index) const
127
127
{
128
128
if (index >= this ->length ()) {
129
129
return Pair::empty ();
@@ -139,7 +139,7 @@ class Map : public Object<Map<KeyType, ContentType>, Pair>
139
139
* @retval int If key isn't found, return -1
140
140
*/
141
141
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
143
143
{
144
144
auto p = this ->data ();
145
145
auto len = this ->length ();
@@ -159,8 +159,8 @@ class Map : public Object<Map<KeyType, ContentType>, Pair>
159
159
* @retval int If key isn't found, return -1
160
160
*/
161
161
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
164
164
{
165
165
auto p = this ->data ();
166
166
auto len = this ->length ();
0 commit comments