Skip to content
Snippets Groups Projects
Commit 964233cb authored by Florian Fischer's avatar Florian Fischer
Browse files

[SimpleLawsTest] match new[] with delete[] instead of free

gcc 11.1 on my arch system complains that the calls to free
does not match the allocator function new[].
parent b8e2983f
No related branches found
No related tags found
1 merge request!202GCC 11.1 fixes
......@@ -99,8 +99,8 @@ static void alphaFun() {
}
cps.wait();
free(fiberData);
free(affinities);
delete[] fiberData;
delete[] affinities;
std::cerr << "Result: " << finalResult << std::endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment