summaryrefslogtreecommitdiffhomepage
path: root/examples/mapmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/mapmap.c')
-rw-r--r--examples/mapmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/mapmap.c b/examples/mapmap.c
index 38e88712..6800601f 100644
--- a/examples/mapmap.c
+++ b/examples/mapmap.c
@@ -19,8 +19,8 @@ int main(void) {
cmap_str_put(&cmap_cfg_emplace(&config, "group", init).first->second, "proj2", "Wind"); // Update
c_foreach (i, cmap_cfg, config)
- c_foreach (j, cmap_str, i.get->second)
- printf("%s: %s - %s (%u)\n", i.get->first.str, j.get->first.str, j.get->second.str, i.get->second.bucket_count);
+ c_foreach (j, cmap_str, i.val->second)
+ printf("%s: %s - %s (%u)\n", i.val->first.str, j.val->first.str, j.val->second.str, i.val->second.bucket_count);
cmap_cfg_del(&config);
} \ No newline at end of file