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 32a06e9830.

Pick-to: 6.7
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>
bb10
Marc Mutz 2024-07-22 14:59:18 +02:00 committed by Qt Cherry-pick Bot
parent 4ab6fc7215
commit 205e3a8dc8
1 changed files with 2 additions and 0 deletions

View File

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