diff options
author | Marc Mutz <marc.mutz@qt.io> | 2023-09-19 20:41:54 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2023-09-20 17:16:28 +0200 |
commit | 10d915277ee2cbf8d5c5fbc5ea6d92f5d9d92791 (patch) | |
tree | 0c5fbc6293dbbb8c4f8e27a2ab882bfd1f33c45b /tests/auto/corelib/text/qstringbuilder | |
parent | 8dee03500eb491375804cde8fe3c9d8b96bfd4d7 (diff) |
tst_QStringBuilder: update the warning re:includes in stringbuilder.cpp
Not only are we subject to Q and P defines, we're also included in the
unnamed namespace now.
Amends df030e06a81cf636aa766053af979ae79c2ab69d.
Pick-to: 6.6
Change-Id: Ie2f4c9f45d9845d8a26140e0e1214e87b615ff02
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/text/qstringbuilder')
-rw-r--r-- | tests/auto/corelib/text/qstringbuilder/qstringbuilder1/stringbuilder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/corelib/text/qstringbuilder/qstringbuilder1/stringbuilder.cpp b/tests/auto/corelib/text/qstringbuilder/qstringbuilder1/stringbuilder.cpp index be116076de..6fc15075f3 100644 --- a/tests/auto/corelib/text/qstringbuilder/qstringbuilder1/stringbuilder.cpp +++ b/tests/auto/corelib/text/qstringbuilder/qstringbuilder1/stringbuilder.cpp @@ -1,8 +1,8 @@ // Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 -// Do not include anything in this file. We are being #included with -// a bunch of defines that may break other legitimate code. +// Do not include anything in this file. We are being #included in the unnamed namespace +// with a bunch of defines that may break other legitimate code. #define LITERAL "some literal" #define LITERAL_LEN (sizeof(LITERAL)-1) |