mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
Fix warning: loop variable ‘xyz’ of type ‘const string&’ {aka ‘const std::__cxx11::basic_string<char>&’} binds to a temporary warning
This commit is contained in:
parent
99e18d87f5
commit
9d01cca0bd
2
external/untwine/epf/Epf.cpp
vendored
2
external/untwine/epf/Epf.cpp
vendored
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user