diff --git a/src/template_type.cpp b/src/template_type.cpp index 2cc1154..deb65a0 100644 --- a/src/template_type.cpp +++ b/src/template_type.cpp @@ -77,7 +77,7 @@ void template_type::strip_whitespace() { store_prefixes(line_begin); auto c = line_begin; - for (bool end = false; !end; c = (*c).ws_only() ? tokens.erase(c) : ++c) + for (bool end = false; !end; (*c).ws_only() ? c = tokens.erase(c) : ++c) if ((end = (*c).eol())) it = c - 1; }