mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-24 07:24:31 +08:00
Fix wxDynamicLibrary unit test compilation in C++20 mode
Don't use operator<<() with a wide char string, as this overload has been removed in C++20. This can be done simply by not using wide char string at all in this test, as it's not really needed. Co-Authored-By: Vadim Zeitlin <vadim@wxwidgets.org> Closes #22599.
This commit is contained in:
committed by
Vadim Zeitlin
co-authored by
Vadim Zeitlin
parent
6c65510a2c
commit
8d3812adce
@@ -87,7 +87,7 @@ TEST_CASE("DynamicLibrary::Load", "[dynlib]")
|
||||
#ifdef __WINDOWS__
|
||||
SECTION("A/W")
|
||||
{
|
||||
static const wxChar *FUNC_NAME_AW = wxT("lstrlen");
|
||||
static const char* const FUNC_NAME_AW = "lstrlen";
|
||||
|
||||
typedef int (wxSTDCALL *wxStrlenTypeAorW)(const wxChar *);
|
||||
wxStrlenTypeAorW
|
||||
|
||||
Reference in New Issue
Block a user