summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChanggyu Choi <changyu.choi@samsung.com>2024-03-15 16:38:57 +0900
committerChanggyu Choi <changyu.choi@samsung.com>2024-03-15 16:40:29 +0900
commit70283c883d096add9d1e565fffc5c98eb20ada10 (patch)
tree58e47497f533359878eff90fe64831e62c5288a0
parent5ef5cab07ed92502a59f9a1e5a5cb12639635635 (diff)
downloadapp-installers-70283c883d096add9d1e565fffc5c98eb20ada10.tar.gz
app-installers-70283c883d096add9d1e565fffc5c98eb20ada10.tar.bz2
app-installers-70283c883d096add9d1e565fffc5c98eb20ada10.zip
Fix build error
-Werror=range-loop-construct Change-Id: Ica14612f07d0991cef3130dafba05709ea595036 Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
-rw-r--r--src/common/step/configuration/step_parse_manifest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/step/configuration/step_parse_manifest.cc b/src/common/step/configuration/step_parse_manifest.cc
index 633c509b..e2ad305f 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<std::string> 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))