diff options
author | olpc user <olpc@xo-5d-f7-86.localdomain> | 2019-12-12 07:35:10 -0800 |
---|---|---|
committer | olpc user <olpc@xo-5d-f7-86.localdomain> | 2019-12-12 07:35:10 -0800 |
commit | 0af2a4c6134054625cc07b38bed96acd7d35f590 (patch) | |
tree | 08fcdf763508789aaf045f29fc637379b1c4e15a | |
parent | 754cdf01b4874d627ca2a04e4052a33dabe6ca78 (diff) | |
download | standingwithresilience-0af2a4c6134054625cc07b38bed96acd7d35f590.tar.gz standingwithresilience-0af2a4c6134054625cc07b38bed96acd7d35f590.zip |
comply with pedantic warning
-rw-r--r-- | starts/meaning-vm/habit-starts/rhythm.cpp | 6 |
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); |