diff options
author | Christian Stenger <[email protected]> | 2025-07-03 11:03:13 +0200 |
---|---|---|
committer | Christian Stenger <[email protected]> | 2025-07-03 10:27:40 +0000 |
commit | 53311b59983fac82cda45e5f963ca1a9211e4ca6 (patch) | |
tree | 663d35a2a6a5a3380182a5b28d7f1189a5c6d1ee /tests/auto | |
parent | 4cd016b4cb6dd4d276c3aaf9d26173c99585fae5 (diff) |
Avoids a warning with MSVC compiler.
Change-Id: I428c024f707d90388f61d0b9ecb683193ef14b39
Reviewed-by: Marcus Tillmanns <[email protected]>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/devcontainer/tst_devcontainer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/devcontainer/tst_devcontainer.cpp b/tests/auto/devcontainer/tst_devcontainer.cpp index 24ffe4dad07..f4be768bbdf 100644 --- a/tests/auto/devcontainer/tst_devcontainer.cpp +++ b/tests/auto/devcontainer/tst_devcontainer.cpp @@ -9,8 +9,10 @@ #include <QtTest> +#ifdef __GNUC__ // We are making use of named initializers a lot here, and GCC complains if we do not initialize all fields. #pragma GCC diagnostic ignored "-Wmissing-field-initializers" +#endif using namespace Utils; |