Skip to content

Commit

Permalink
Removed some C++14-only syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shyotl committed Jan 13, 2017
1 parent 632725e commit aa7c5e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indra/newview/llvoavatar.cpp
Expand Up @@ -6232,7 +6232,7 @@ const LLUUID& LLVOAvatar::getID() const
// RN: avatar joints are multi-rooted to include screen-based attachments
LLJoint *LLVOAvatar::getJoint( const std::string &name )
{
joint_map_t::iterator iter = std::find_if(mJointMap.begin(), mJointMap.end(), [&name](auto &pair) { return strcmp(name.c_str(), pair.first) == 0; });
joint_map_t::iterator iter = std::find_if(mJointMap.begin(), mJointMap.end(), [&name](joint_map_t::value_type &pair) { return strcmp(name.c_str(), pair.first) == 0; });

LLJoint* jointp = NULL;

Expand Down

0 comments on commit aa7c5e6

Please sign in to comment.