Removed some C++14-only syntax.

This commit is contained in:
Shyotl
2017-01-12 23:45:42 -06:00
parent 632725e788
commit aa7c5e652c

View File

@@ -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;