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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user