[Utils]: Update InfoString (#961)
This commit is contained in:
parent
1439f32bde
commit
4dcbe32c54
@ -51,13 +51,9 @@ namespace Utils
|
|||||||
std::string InfoString::build() const
|
std::string InfoString::build() const
|
||||||
{
|
{
|
||||||
std::string infoString;
|
std::string infoString;
|
||||||
|
|
||||||
auto first = true;
|
|
||||||
for (const auto& [key, value] : this->keyValuePairs_)
|
for (const auto& [key, value] : this->keyValuePairs_)
|
||||||
{
|
{
|
||||||
if (first) first = false;
|
infoString.append("\\");
|
||||||
else infoString.append("\\");
|
|
||||||
|
|
||||||
infoString.append(key);
|
infoString.append(key);
|
||||||
infoString.append("\\");
|
infoString.append("\\");
|
||||||
infoString.append(value);
|
infoString.append(value);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user