diff --git a/example/Grid/0_simple/main.cpp b/example/Grid/0_simple/main.cpp index d88ee12e007be5916f66d98f2ed60197acb72f5b..b725c8bf2d54aa72741d9166d66aace939f605d0 100644 --- a/example/Grid/0_simple/main.cpp +++ b/example/Grid/0_simple/main.cpp @@ -151,5 +151,5 @@ int main(int argc, char* argv[]) // // Deinitialize the library // - delete(global_v_cluster); + delete_global_v_cluster(); } diff --git a/example/Grid/1_stencil/main.cpp b/example/Grid/1_stencil/main.cpp index 1a08184c6641c37d70b19b5a26893c7b45708ce1..3d4470c6cbc3606b3448cc56f781ee0477b410c6 100644 --- a/example/Grid/1_stencil/main.cpp +++ b/example/Grid/1_stencil/main.cpp @@ -154,5 +154,5 @@ int main(int argc, char* argv[]) // // Deinitialize the library // - delete(global_v_cluster); + delete_global_v_cluster(); } diff --git a/example/Vector/0_simple/main.cpp b/example/Vector/0_simple/main.cpp index 17d0ddc1759ea06e019d9521ac0818a485c25d0b..9dd3b2922bf539be3bb82f20088ac7b789db4f62 100644 --- a/example/Vector/0_simple/main.cpp +++ b/example/Vector/0_simple/main.cpp @@ -122,5 +122,5 @@ int main(int argc, char* argv[]) // // Deinitialize the library // - delete(global_v_cluster); + delete_global_v_cluster(); } diff --git a/src/unit_test_init_cleanup.hpp b/src/unit_test_init_cleanup.hpp index 0cbd6fd73f5d937a603ee080de201e549c616c35..12b98f01e423c571ff0c5d6b06a5eec2cf822b5a 100644 --- a/src/unit_test_init_cleanup.hpp +++ b/src/unit_test_init_cleanup.hpp @@ -12,7 +12,7 @@ struct ut_start { ut_start() { BOOST_TEST_MESSAGE("Initialize global VCluster"); init_global_v_cluster(&boost::unit_test::framework::master_test_suite().argc,&boost::unit_test::framework::master_test_suite().argv); } - ~ut_start() { BOOST_TEST_MESSAGE("Delete global VClster");delete(global_v_cluster); } + ~ut_start() { BOOST_TEST_MESSAGE("Delete global VClster");delete_global_v_cluster(); } }; //____________________________________________________________________________//