From 9d01cca0bddc979ac9b2b77fc0457d912e9b0834 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Sat, 27 Mar 2021 08:52:59 +1000 Subject: [PATCH] =?UTF-8?q?Fix=20warning:=20loop=20variable=20=E2=80=98xyz?= =?UTF-8?q?=E2=80=99=20of=20type=20=E2=80=98const=20string&=E2=80=99=20{ak?= =?UTF-8?q?a=20=E2=80=98const=20std::=5F=5Fcxx11::basic=5Fstring&?= =?UTF-8?q?=E2=80=99}=20binds=20to=20a=20temporary=20warning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- external/untwine/epf/Epf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/untwine/epf/Epf.cpp b/external/untwine/epf/Epf.cpp index 941bfb4fffd..ab7d97a1b86 100644 --- a/external/untwine/epf/Epf.cpp +++ b/external/untwine/epf/Epf.cpp @@ -207,7 +207,7 @@ PointCount Epf::createFileInfo(const StringList& input, StringList dimNames, { for (std::string& d : dimNames) d = Utils::toupper(d); - for (const std::string& xyz : { "X", "Y", "Z" }) + for (const std::string xyz : { "X", "Y", "Z" }) if (!Utils::contains(dimNames, xyz)) dimNames.push_back(xyz); }