From ae954c70fc53a2c281f4755f27366af4e5840f84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 4 Sep 2016 16:04:26 +0200 Subject: [PATCH] MeshTools: update outdated documentation. --- src/Magnum/MeshTools/RemoveDuplicates.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/Magnum/MeshTools/RemoveDuplicates.h b/src/Magnum/MeshTools/RemoveDuplicates.h index 51abf7e2a..062fbaa48 100644 --- a/src/Magnum/MeshTools/RemoveDuplicates.h +++ b/src/Magnum/MeshTools/RemoveDuplicates.h @@ -80,11 +80,8 @@ data accordingly: std::vector positions; std::vector texCoords; -std::vector positionIndices; -std::tie(positionIndices, positions) = MeshTools::removeDuplicates(positions); - -std::vector texCoordIndices; -std::tie(texCoordIndices, texCoords) = MeshTools::removeDuplicates(texCoords); +std::vector positionIndices = MeshTools::removeDuplicates(positions); +std::vector texCoordIndices = MeshTools::removeDuplicates(texCoords); std::vector indices = MeshTools::combineIndexedArrays( std::make_pair(std::cref(positionIndices), std::ref(positions)),