From 70283c883d096add9d1e565fffc5c98eb20ada10 Mon Sep 17 00:00:00 2001 From: Changgyu Choi Date: Fri, 15 Mar 2024 16:38:57 +0900 Subject: [PATCH] Fix build error -Werror=range-loop-construct Change-Id: Ica14612f07d0991cef3130dafba05709ea595036 Signed-off-by: Changgyu Choi --- src/common/step/configuration/step_parse_manifest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/step/configuration/step_parse_manifest.cc b/src/common/step/configuration/step_parse_manifest.cc index 633c509..e2ad305 100644 --- a/src/common/step/configuration/step_parse_manifest.cc +++ b/src/common/step/configuration/step_parse_manifest.cc @@ -1111,7 +1111,7 @@ void StepParseManifest::GetLegacySplashScreenFromMetadata(application_x* app, std::sregex_token_iterator first(val.begin(), val.end(), re, -1); std::sregex_token_iterator last; std::vector tokens(first, last); - for (const auto t : tokens) { + for (const auto& t : tokens) { if (t.compare(kPortraitEffectImageValue)) portrait_src = t; else if (t.compare(kLandscapeEffectImageValue)) -- 2.7.4