From 199b64aa7b280ba97a07c111f2603e56b08a4480 Mon Sep 17 00:00:00 2001 From: Tomasz Swierczek Date: Mon, 31 Jul 2023 15:50:15 +0200 Subject: [PATCH] Fixed SAM warning Change-Id: If59a07a32183184e786c8030b436aa3d8735abbb --- server/internal-encryption.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/internal-encryption.cpp b/server/internal-encryption.cpp index 58edac5..64dd612 100644 --- a/server/internal-encryption.cpp +++ b/server/internal-encryption.cpp @@ -262,7 +262,7 @@ void stopSystemdUnits() } } - for (auto unit : unitsToStop) { + for (auto &unit : unitsToStop) { stopUnit(unit); } } -- 2.34.1