diff --git a/test/unit_testing/tests/Sys/intended-Linux/include/HxString.h b/test/unit_testing/tests/Sys/intended-Linux/include/HxString.h index cac5844d..d42de245 100644 --- a/test/unit_testing/tests/Sys/intended-Linux/include/HxString.h +++ b/test/unit_testing/tests/Sys/intended-Linux/include/HxString.h @@ -33,9 +33,12 @@ class HxString { while(_g < _g1) { _g++; - std::string x = s.substr(pos++, 1); - result->push_back(x); + { + std::string x = s.substr(pos++, 1); + + result->push_back(x); + }; }; return result;