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.

Change-Id: Ie2f4c9f45d9845d8a26140e0e1214e87b615ff02
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 10d915277ee2cbf8d5c5fbc5ea6d92f5d9d92791)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Marc Mutz 2023-09-19 20:41:54 +02:00 committed by Qt Cherry-pick Bot
parent 99aa3d5ad1
commit be0679e70a

View File

@ -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)