diff --git a/src/Core/Resource/Animation/CAnimSet.h b/src/Core/Resource/Animation/CAnimSet.h index 1c3aa81f..521c38cb 100644 --- a/src/Core/Resource/Animation/CAnimSet.h +++ b/src/Core/Resource/Animation/CAnimSet.h @@ -187,8 +187,7 @@ public: void GetUniquePrimitives(std::set& rPrimSet) const { - for (const auto& primitive : mAnimPrimitives) - rPrimSet.insert(primitive); + rPrimSet.insert(mAnimPrimitives.cbegin(), mAnimPrimitives.cend()); } // Accessors