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.

Change-Id: I97bbbb80f46c0e587288e8ebb4fa06ddd2e892be
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
(cherry picked from commit 235bb0926a94a73655a266c0ac038fa3a0a982cd)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 205e3a8dc800efb21b1cc5ab6c81192ceb97d18f)
This commit is contained in:
Marc Mutz 2024-07-22 14:59:18 +02:00 committed by Qt Cherry-pick Bot
parent ebb51bd9dd
commit fcf8554b0a

View File

@ -1,5 +1,7 @@
// Copyright (C) 2022 Intel Corporation.
#pragma once
#include <QtTest/QTest>
#include <QtCore/QNativeIpcKey>