From da607e631e5059d1840b34fcfc4804bab2d772f1 Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Wed, 28 Sep 2022 03:59:22 +0000 Subject: [PATCH] Fix static analysis issue The following issue is fixed: - AUTO_CAUSES_COPY Change-Id: I76704d5c779e67819d9378329b8c3cdc4320fb5e Signed-off-by: Hwankyu Jhun --- src/esd_cion/cion_ondemand_server.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/esd_cion/cion_ondemand_server.cc b/src/esd_cion/cion_ondemand_server.cc index a7c267b..0301b0f 100644 --- a/src/esd_cion/cion_ondemand_server.cc +++ b/src/esd_cion/cion_ondemand_server.cc @@ -351,7 +351,7 @@ tizen_base::Parcel CionOndemandServer::GetOndemandList( tizen_base::Parcel parcel; parcel.WriteString(header); - for (auto peer : ondemand_peer_list_) { + for (auto& peer : ondemand_peer_list_) { if (peer->GetServiceName() != service_name || aul_app_is_running(peer->GetAppID().c_str())) continue; -- 2.34.1