Linux compile fix, thanks for pointing this out, Ratany.

This commit is contained in:
Inusaito Sayori
2015-03-21 05:36:00 -04:00
parent de6db7fa5a
commit a7d3d08057

View File

@@ -330,7 +330,7 @@ public:
for (item_list::iterator iter = mItemList.begin(); iter != mItemList.end(); ++iter)
{
LLScrollListItem* item = *iter;
for (std::vector<T>::const_iterator titr = vec.begin(); titr != vec.end(); ++titr)
for (typename std::vector<T>::const_iterator titr = vec.begin(); titr != vec.end(); ++titr)
if (item->getEnabled() && static_cast<T>(item->getValue()) == (*titr))
{
selectItem(item, false);