修订版 | d3f769baecc0e7b748c29c46fbf6fe2d32274ff1 (tree) |
---|---|
时间 | 2020-03-02 04:11:19 |
作者 | David Ludwig <dludwig@pobo...> |
Commiter | David Ludwig |
more code cleanups
@@ -858,9 +858,9 @@ | ||
858 | 858 | ImGui::SetColumnWidth(0, 110.f); |
859 | 859 | ImGui::SetColumnWidth(1, 250.f); |
860 | 860 | |
861 | - std::istringstream iss(mapping); | |
861 | + std::istringstream mappingStream(mapping); | |
862 | 862 | std::string item; |
863 | - for (int count = 0; std::getline(iss, item, ','); ++count) { | |
863 | + for (int count = 0; std::getline(mappingStream, item, ','); ++count) { | |
864 | 864 | std::string name; |
865 | 865 | std::string value; |
866 | 866 | const size_t colon_pos = item.find(':'); |