From 205e3a8dc800efb21b1cc5ab6c81192ceb97d18f Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Mon, 22 Jul 2024 14:59:18 +0200 Subject: [PATCH] ipctestcommon.h: add #pragma once The file had no protection against multiple inclusions. While current code doesn't include it multiply, prevent it from becoming a problem in the future. Pragma once is sufficient, as this header is not installed. Amends 32a06e983073080d939b4742996a3dc9cd75bb83. Pick-to: 6.7 Change-Id: I97bbbb80f46c0e587288e8ebb4fa06ddd2e892be Reviewed-by: Ivan Solovev (cherry picked from commit 235bb0926a94a73655a266c0ac038fa3a0a982cd) Reviewed-by: Qt Cherry-pick Bot --- tests/auto/corelib/ipc/ipctestcommon.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/auto/corelib/ipc/ipctestcommon.h b/tests/auto/corelib/ipc/ipctestcommon.h index 25c7b8ce440..2347031ad45 100644 --- a/tests/auto/corelib/ipc/ipctestcommon.h +++ b/tests/auto/corelib/ipc/ipctestcommon.h @@ -1,5 +1,7 @@ // Copyright (C) 2022 Intel Corporation. +#pragma once + #include #include