Skip to content

Commit

Permalink
ipctestcommon.h: add #pragma once
Browse files Browse the repository at this point in the history
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 32a06e9.

Pick-to: 6.8 6.7
Change-Id: I97bbbb80f46c0e587288e8ebb4fa06ddd2e892be
Reviewed-by: Ivan Solovev <[email protected]>
  • Loading branch information
marcmutz committed Jul 22, 2024
1 parent 61e4be2 commit 235bb09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/auto/corelib/ipc/ipctestcommon.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright (C) 2022 Intel Corporation.

#pragma once

#include <QtTest/QTest>
#include <QtCore/QNativeIpcKey>

Expand Down

0 comments on commit 235bb09

Please sign in to comment.