summaryrefslogtreecommitdiff
path: root/starts/meaning-vm/habit-starts
diff options
context:
space:
mode:
authorolpc user <olpc@xo-5d-f7-86.localdomain>2019-12-12 07:35:10 -0800
committerolpc user <olpc@xo-5d-f7-86.localdomain>2019-12-12 07:35:10 -0800
commit0af2a4c6134054625cc07b38bed96acd7d35f590 (patch)
tree08fcdf763508789aaf045f29fc637379b1c4e15a /starts/meaning-vm/habit-starts
parent754cdf01b4874d627ca2a04e4052a33dabe6ca78 (diff)
downloadstandingwithresilience-0af2a4c6134054625cc07b38bed96acd7d35f590.tar.gz
standingwithresilience-0af2a4c6134054625cc07b38bed96acd7d35f590.zip
comply with pedantic warning
Diffstat (limited to 'starts/meaning-vm/habit-starts')
-rw-r--r--starts/meaning-vm/habit-starts/rhythm.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/starts/meaning-vm/habit-starts/rhythm.cpp b/starts/meaning-vm/habit-starts/rhythm.cpp
index 0877250..c476006 100644
--- a/starts/meaning-vm/habit-starts/rhythm.cpp
+++ b/starts/meaning-vm/habit-starts/rhythm.cpp
@@ -68,6 +68,9 @@ int main()
"and a three!",
"and a four, love"
};
+ std::cout << beats[b] << std::endl;
+ b = (b + 1) % (sizeof(beats) / sizeof(*beats));
+ });
#if 0
char const * beats[] = {
// child <- spawns beauty, creativity, humanity, heart
@@ -114,9 +117,6 @@ int main()
// says that.
}
#endif
- std::cout << beats[b] << std::endl;
- b = (b + 1) % (sizeof(beats) / sizeof(*beats));
- });
ahabit(wait-habit, (),
{
usleep(micros);