summaryrefslogtreecommitdiffhomepage
path: root/benchmarks/plotbench/clist_benchmark.cpp
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-12-29 15:14:37 +0100
committerGitHub <[email protected]>2021-12-29 15:14:37 +0100
commita53b2f4269951e0b5340723670137b4fdf96534c (patch)
treee5d36c28d0fd548873216426bb00a6b59d2730dd /benchmarks/plotbench/clist_benchmark.cpp
parent183a89859ba9914ee0546e4482b40be199e52292 (diff)
parent92f5421493932d00e63b33152331a36cc4fc9491 (diff)
downloadSTC-modified-a53b2f4269951e0b5340723670137b4fdf96534c.tar.gz
STC-modified-a53b2f4269951e0b5340723670137b4fdf96534c.zip
Merge pull request #17 from tylov/version3
Version3 Breaking changes are covered by the migration guide in the NEWS section in README.md
Diffstat (limited to 'benchmarks/plotbench/clist_benchmark.cpp')
-rw-r--r--benchmarks/plotbench/clist_benchmark.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmarks/plotbench/clist_benchmark.cpp b/benchmarks/plotbench/clist_benchmark.cpp
index 676d31e7..eaa18201 100644
--- a/benchmarks/plotbench/clist_benchmark.cpp
+++ b/benchmarks/plotbench/clist_benchmark.cpp
@@ -78,7 +78,7 @@ Sample test_stc_forward_list() {
c_forrange (N) clist_x_pop_front(&con);
s.test[ERASE].t2 = clock();
s.test[ERASE].sum = 0;
- clist_x_del(&con);
+ clist_x_drop(&con);
}{
stc64_srandom(seed);
container con = clist_x_init();
@@ -95,7 +95,7 @@ Sample test_stc_forward_list() {
s.test[ITER].t2 = clock();
s.test[ITER].sum = sum;
s.test[DESTRUCT].t1 = clock();
- clist_x_del(&con);
+ clist_x_drop(&con);
}
s.test[DESTRUCT].t2 = clock();
s.test[DESTRUCT].sum = 0;