diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2020-08-29 10:18:50 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2020-08-29 10:18:50 +0200 |
commit | 579af1b265b504d07ccfec376858d12d6a233f86 (patch) | |
tree | bf64f55de3dcc63f54faca7c018b63aba37d732c /tests/scripts | |
parent | 54b7c8855369b755f59db3e80281d54f7c1b85c9 (diff) | |
download | weechat-579af1b265b504d07ccfec376858d12d6a233f86.zip |
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.
Diffstat (limited to 'tests/scripts')
-rw-r--r-- | tests/scripts/test-scripts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scripts/test-scripts.cpp b/tests/scripts/test-scripts.cpp index 16058dec6..756ae35a6 100644 --- a/tests/scripts/test-scripts.cpp +++ b/tests/scripts/test-scripts.cpp @@ -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); |