Put DebugSymbolResolver and FatalSignalHandler in an unnamed namespace

Pick-to: 6.3
Change-Id: I5ff8e16fcdcb4ffd9ab6fffd16eb735315b337b6
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
Thiago Macieira 2022-05-02 18:14:49 -07:00
parent 55a4d35dc3
commit 4e8da8f1ec

View File

@ -1670,6 +1670,9 @@ void TestMethods::invokeTests(QObject *testObject) const
QSignalDumper::endDump();
}
} // namespace QTest
namespace {
#if defined(Q_OS_WIN)
// Helper class for resolving symbol names by dynamically loading "dbghelp.dll".
@ -1970,7 +1973,7 @@ private:
bool FatalSignalHandler::pauseOnCrash = false;
#endif // defined(Q_OS_UNIX) && !defined(Q_OS_WASM)
} // namespace
} // unnamed namespace
static void initEnvironment()
{