diff options
| author | Tyge Løvset <[email protected]> | 2020-12-17 07:55:59 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2020-12-17 07:55:59 +0100 |
| commit | bc2981ee8fa3cba0be0d0efb1e2a2072c98ca5a0 (patch) | |
| tree | 2e848e43a77cf4507645d7b89231c9a726b3ec05 /examples/share_ptr2.c | |
| parent | 214a2aa75d164d285661719131f54c71fa2f8e37 (diff) | |
| download | STC-modified-bc2981ee8fa3cba0be0d0efb1e2a2072c98ca5a0.tar.gz STC-modified-bc2981ee8fa3cba0be0d0efb1e2a2072c98ca5a0.zip | |
API change: Reverted back to original name used for .val in iterators to .ref
Diffstat (limited to 'examples/share_ptr2.c')
| -rw-r--r-- | examples/share_ptr2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/share_ptr2.c b/examples/share_ptr2.c index abb58705..65240969 100644 --- a/examples/share_ptr2.c +++ b/examples/share_ptr2.c @@ -25,6 +25,6 @@ int main() { cstr_from_fmt("Last %d", (i * 9) % 10))));
}
c_foreach (i, cmap_ps, map)
- printf(" %d: %s\n", i.val->first, i.val->second.get->name.str);
+ printf(" %d: %s\n", i.ref->first, i.ref->second.get->name.str);
cmap_ps_del(&map);
}
\ No newline at end of file |
