1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 04:16: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 -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);