summaryrefslogtreecommitdiffstats
path: root/utils/slv2_bench.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/slv2_bench.c')
-rw-r--r--utils/slv2_bench.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/slv2_bench.c b/utils/slv2_bench.c
index a63b876..de1be4e 100644
--- a/utils/slv2_bench.c
+++ b/utils/slv2_bench.c
@@ -44,8 +44,8 @@ main(int argc, char** argv)
slv2_world_load_all(world);
SLV2Plugins plugins = slv2_world_get_all_plugins(world);
- SLV2_FOREACH(p, plugins) {
- SLV2Plugin plugin = slv2_collection_get(plugins, p);
+ SLV2_FOREACH(plugins, p, plugins) {
+ SLV2Plugin plugin = slv2_plugins_get(plugins, p);
slv2_plugin_get_class(plugin);
}