From c224548781898374728e5156950e87ea8b583f63 Mon Sep 17 00:00:00 2001 From: Kampfkarren Date: Wed, 27 Jul 2022 17:45:24 -0700 Subject: [PATCH] Remove const& from strings loop --- Compiler/src/Compiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Compiler/src/Compiler.cpp b/Compiler/src/Compiler.cpp index 19098a68..86d41cc5 100644 --- a/Compiler/src/Compiler.cpp +++ b/Compiler/src/Compiler.cpp @@ -1486,7 +1486,7 @@ struct Compiler size_t stringsLeft = expr->strings.size; - for (AstArray const& string : expr->strings) + for (AstArray string : expr->strings) { if (memchr(string.data, '%', string.size)) {