From 91e79fc60713c1f09e940a7ee83ff2f8aa4f9d69 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Sat, 31 Dec 2022 09:41:24 +0100 Subject: Internally renamed ccommon.h macros to uppercase. Lowercase macros are still supported via include/stc/priv/lowcase.h. --- misc/examples/sidebyside.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'misc/examples/sidebyside.cpp') diff --git a/misc/examples/sidebyside.cpp b/misc/examples/sidebyside.cpp index ca80664d..11328668 100644 --- a/misc/examples/sidebyside.cpp +++ b/misc/examples/sidebyside.cpp @@ -31,7 +31,7 @@ int main() { IIMap_insert(&hist, 13, 100).ref->second += 1; IIMap_insert(&hist, 12, 100).ref->second += 1; - c_foreach (i, IIMap, hist) + c_FOREACH (i, IIMap, hist) printf("%d, %d\n", i.ref->first, i.ref->second); puts(""); } @@ -50,7 +50,7 @@ int main() { c_FORLIST (i, SIMap_raw, {{"burger", 5}, {"pizza", 12}, {"steak", 15}}) SIMap_emplace(&food, c_PAIR(i.ref)); - c_foreach (i, SIMap, food) + c_FOREACH (i, SIMap, food) printf("%s, %d\n", cstr_str(&i.ref->first), i.ref->second); puts(""); } -- cgit v1.2.3