From 10d915277ee2cbf8d5c5fbc5ea6d92f5d9d92791 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Tue, 19 Sep 2023 20:41:54 +0200 Subject: 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 --- .../corelib/text/qstringbuilder/qstringbuilder1/stringbuilder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/auto/corelib/text/qstringbuilder') 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) -- cgit v1.2.3