summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-03-17 12:56:49 +0100
committerGitHub <[email protected]>2021-03-17 12:56:49 +0100
commit0183aa814b21de2f623b56d79ac0f44a2bbb0366 (patch)
treeea2f983546518889d6308d6a3d8aa8e64deb93b6
parentce1f74fb1bcad5491cce146d3198be8a507bdc4a (diff)
downloadSTC-modified-0183aa814b21de2f623b56d79ac0f44a2bbb0366.tar.gz
STC-modified-0183aa814b21de2f623b56d79ac0f44a2bbb0366.zip
Update csmap.h
Fix example in header.
-rw-r--r--stc/csmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/stc/csmap.h b/stc/csmap.h
index 05ba949b..b6598f19 100644
--- a/stc/csmap.h
+++ b/stc/csmap.h
@@ -35,7 +35,7 @@ int main(void) {
csset_sx_insert(&s, 5);
csset_sx_insert(&s, 8);
c_foreach (i, csset_sx, s)
- printf("set %d\n", i.ref->second);
+ printf("set %d\n", *i.ref);
csset_sx_del(&s);
}
*/