DRTVWR-418: Another fix for std::string::find() return type.

master
Nat Goodspeed 2016-12-20 10:42:22 -05:00
parent 573287b50f
commit 65cf4912f6
1 changed files with 1 additions and 1 deletions

View File

@ -2596,7 +2596,7 @@ void process_improved_im(LLMessageSystem *msg, void **user_data)
// The group notice packet does not have an AgentID. Obtain one from the name cache.
// If last name is "Resident" strip it out so the cache name lookup works.
U32 index = original_name.find(" Resident");
std::string::size_type index = original_name.find(" Resident");
if (index != std::string::npos)
{
original_name = original_name.substr(0, index);