1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 23:06:38 +02:00

tests: fix compilation with CppUTest ≥ 4.0

MemoryLeakWarningPlugin::turnOnNewDeleteOverloads is replaced by
MemoryLeakWarningPlugin::turnOnThreadSafeNewDeleteOverloads, which is available
in both CppUTest 3.x and 4.0.
This commit is contained in:
Sébastien Helleu
2020-08-29 10:18:50 +02:00
parent 54b7c88553
commit 579af1b265
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -43,6 +43,7 @@ Tests::
Build::
* core: disable debug by default in autotools build
* tests: fix compilation with CppUTest ≥ 4.0
[[v2.9]]
== Version 2.9 (2020-07-18)
+1 -1
View File
@@ -273,7 +273,7 @@ TEST(Scripts, API)
LONGS_EQUAL(0, api_tests_other);
if (turnoff_memleak)
MemoryLeakWarningPlugin::turnOnNewDeleteOverloads();
MemoryLeakWarningPlugin::turnOnThreadSafeNewDeleteOverloads();
}
free (path_testapi_output_dir);