From 37a6c0e0474e4d3eed8e17169c1fedf9e3acab11 Mon Sep 17 00:00:00 2001 From: Username404 Date: Thu, 2 Sep 2021 10:35:53 +0200 Subject: [PATCH] Remove the oldClosingBraceIsFar boolean in Target.hpp --- src/headers/transpiler/Target.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/headers/transpiler/Target.hpp b/src/headers/transpiler/Target.hpp index 24eeec4..d01b9e5 100644 --- a/src/headers/transpiler/Target.hpp +++ b/src/headers/transpiler/Target.hpp @@ -43,7 +43,6 @@ protected: for (unsigned long i = 0; i < interpolationVector.size(); ++i) { const auto& occurrence = interpolationVector[i]; const bool hasNext = (i + 1) < interpolationVector.size(); - const bool oldClosingBraceIsFar = closingBrace >= occurrence; if (i > 0) output << concatenationCharacters; output << openCharacters << view.substr(closingBrace + (i > 0), (occurrence - closingBrace) - (i > 0)); closingBrace = view.find_first_of(interpolationCloseString, occurrence);