We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d334cb commit df4aabcCopy full SHA for df4aabc
Src/runcpp2/Data/ProfilesDefines.cpp
@@ -58,11 +58,12 @@ std::string runcpp2::Data::ProfilesDefines::ToString(std::string indentation) co
58
{
59
std::string result;
60
61
- for(const auto& profileDefines : Defines)
+ for(auto it = Defines.begin(); it != Defines.end(); ++it)
62
63
- result += indentation + profileDefines.first + ":\n";
64
- for(const auto& define : profileDefines.second)
+ result += indentation + it->first + ":\n";
+ for(int j = 0; j < it->second.size(); ++j)
65
66
+ const auto& define = it->second.at(j);
67
result += indentation + "- ";
68
if(define.Value.empty())
69
result += define.Name + "\n";
0 commit comments