From 1c3ec0c05aa00e6659f3e1248c2d9d32a8f53b6f Mon Sep 17 00:00:00 2001 From: Jeremy Hu Date: Sun, 9 Feb 2020 21:50:02 +0930 Subject: [PATCH] Fix build --- src/riggenerator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/riggenerator.cpp b/src/riggenerator.cpp index 598ae69e..89e644fe 100644 --- a/src/riggenerator.cpp +++ b/src/riggenerator.cpp @@ -236,7 +236,7 @@ void RigGenerator::buildBoneNodeChain() std::swap(left, right); for (const auto &it: right) middle.insert(it); - segments.push_back({nodeIndex, left, false}); + segments.push_back(std::make_tuple(nodeIndex, left, false)); } for (const auto &it: segments) { const auto &nodeIndex = std::get<0>(it); @@ -247,7 +247,7 @@ void RigGenerator::buildBoneNodeChain() } middle.erase(middleStartNodeIndex); if (middleStartNodeIndex != m_outcome->bodyNodes.size()) - segments.push_back({middleStartNodeIndex, middle, true}); + segments.push_back(std::make_tuple(middleStartNodeIndex, middle, true)); for (const auto &it: segments) { const auto &fromNodeIndex = std::get<0>(it); const auto &left = std::get<1>(it);