summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/sidebyside.cpp
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-12-30 19:26:51 +0100
committerGitHub <[email protected]>2022-12-30 19:26:51 +0100
commit9d59845f622fbb9c225bbe32246a3128ad9ec0b1 (patch)
tree528ebcc735cdb5d958b987c886d369bc02a11320 /misc/examples/sidebyside.cpp
parent5f57d597cd27aef55adbcb3b452973b0c6e33667 (diff)
parente124d8c7377de1dfce45790a196312596f6b9be5 (diff)
downloadSTC-modified-9d59845f622fbb9c225bbe32246a3128ad9ec0b1.tar.gz
STC-modified-9d59845f622fbb9c225bbe32246a3128ad9ec0b1.zip
Merge pull request #41 from tylov/allcaps
Allcaps
Diffstat (limited to 'misc/examples/sidebyside.cpp')
-rw-r--r--misc/examples/sidebyside.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/examples/sidebyside.cpp b/misc/examples/sidebyside.cpp
index 80c934a4..ca80664d 100644
--- a/misc/examples/sidebyside.cpp
+++ b/misc/examples/sidebyside.cpp
@@ -25,7 +25,7 @@ int main() {
std::cout << std::endl;
}
- c_auto (IIMap, hist)
+ c_AUTO (IIMap, hist)
{
IIMap_insert(&hist, 12, 100).ref->second += 1;
IIMap_insert(&hist, 13, 100).ref->second += 1;
@@ -45,9 +45,9 @@ int main() {
std::cout << std::endl;
}
- c_auto (SIMap, food)
+ c_AUTO (SIMap, food)
{
- c_forlist (i, SIMap_raw, {{"burger", 5}, {"pizza", 12}, {"steak", 15}})
+ c_FORLIST (i, SIMap_raw, {{"burger", 5}, {"pizza", 12}, {"steak", 15}})
SIMap_emplace(&food, c_PAIR(i.ref));
c_foreach (i, SIMap, food)