diff --git a/2022/11.cpp b/2022/11.cpp index dd0f1b0..db4ea3e 100644 --- a/2022/11.cpp +++ b/2022/11.cpp @@ -44,11 +44,11 @@ struct Monkey { struct Grammar : public qi::grammar()> { qi::rule monkey; - qi::rule()> monkies; + qi::rule()> monkeys; - Grammar() : base_type{monkies} { + Grammar() : base_type{monkeys} { using namespace qi::labels; - monkies = monkey % "\n"; + monkeys = monkey % "\n"; monkey = "Monkey " >> qi::omit[qi::ulong_long] >>