Permalink
Browse files

Removed some C++14-only syntax.

  • Loading branch information...
1 parent 632725e commit aa7c5e652c5ecb38af743c9a078aa81cf4962297 @Shyotl Shyotl committed Jan 13, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 indra/newview/llvoavatar.cpp
@@ -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;

0 comments on commit aa7c5e6

Please sign in to comment.