1
0

Replace &*[0] accesses with .data()

This commit is contained in:
Tiger Wang
2014-10-21 13:20:06 +01:00
parent 987f79afdd
commit 5089f04cf6
3 changed files with 8 additions and 8 deletions

View File

@@ -2321,8 +2321,8 @@ cItem * cSlotAreaTemporary::GetPlayerSlots(cPlayer & a_Player)
if (itr == m_Items.end())
{
return nullptr;
}
return &(itr->second[0]);
}
return itr->second.data();
}