diff --git a/libraries/avatars/src/HeadData.cpp b/libraries/avatars/src/HeadData.cpp index 31001bf162..b29277ddeb 100644 --- a/libraries/avatars/src/HeadData.cpp +++ b/libraries/avatars/src/HeadData.cpp @@ -65,7 +65,7 @@ void HeadData::setBlendshape(QString name, float val) { } //Check to see if the named blendshape exists, and then set its value if it does - auto it = blendshapeLookupMap.find(name); + QMap::iterator it = blendshapeLookupMap.find(name); if (it != blendshapeLookupMap.end()) { if (_blendshapeCoefficients.size() <= it.value()) { _blendshapeCoefficients.resize(it.value() + 1);