Fixed SAM warning 37/296537/1 accepted/tizen/8.0/unified/20231005.093654 accepted/tizen/unified/20230801.174218 accepted/tizen/unified/20230830.170552
authorTomasz Swierczek <t.swierczek@samsung.com>
Mon, 31 Jul 2023 13:50:15 +0000 (15:50 +0200)
committerTomasz Swierczek <t.swierczek@samsung.com>
Mon, 31 Jul 2023 13:50:15 +0000 (15:50 +0200)
Change-Id: If59a07a32183184e786c8030b436aa3d8735abbb

server/internal-encryption.cpp

index 58edac5..64dd612 100644 (file)
@@ -262,7 +262,7 @@ void stopSystemdUnits()
                }
        }
 
-       for (auto unit : unitsToStop) {
+       for (auto &unit : unitsToStop) {
                stopUnit(unit);
        }
 }