From 8338a8e0289cf78597d7a7b226e522aef7d8d1b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Tr=C3=A1vn=C3=AD=C4=8Dek?= <jan.travnicek@fit.cvut.cz> Date: Wed, 26 Jan 2022 18:49:16 +0100 Subject: [PATCH] tidy: drop redundant string initialization --- alib2aux/src/convert/GasTexConverter.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/alib2aux/src/convert/GasTexConverter.h b/alib2aux/src/convert/GasTexConverter.h index e0ed03cdbe..87db1c36fa 100644 --- a/alib2aux/src/convert/GasTexConverter.h +++ b/alib2aux/src/convert/GasTexConverter.h @@ -865,11 +865,11 @@ std::string GasTexConverter::getStackSymbols(const ext::vector<SymbolType>& stac return "$\\varepsilon$"; } - std::string symbols = ""; + std::string symbols; int i=0; for (const SymbolType & symbol : stackSymbols) { if(i++ !=0) { - symbols +=" "; + symbols += " "; } symbols += replace ( factory::StringDataFactory::toString ( symbol ), "\"", "\\\"" ); } -- GitLab