diff options
-rw-r--r-- | slicer/tool/icemetadata.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/slicer/tool/icemetadata.cpp b/slicer/tool/icemetadata.cpp index fee29ae..cecf703 100644 --- a/slicer/tool/icemetadata.cpp +++ b/slicer/tool/icemetadata.cpp @@ -4,10 +4,10 @@ // IWYU pragma: no_include <list> namespace Slicer { - IceMetaData::IceMetaData(Slice::StringList && a) + IceMetaData::IceMetaData(Slice::StringList && as) { - arr.reserve(a.size()); - std::for_each(a.begin(), a.end(), [this](auto && a) { + arr.reserve(as.size()); + std::for_each(as.begin(), as.end(), [this](auto && a) { auto & md = arr.emplace_back(a, std::string_view {}); md.second = std::string_view(md.first).substr(0, md.first.rfind(':')); }); |