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:
parent
6c65510a2c
commit
8d3812adce
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue