Closed tost11 closed 1 year ago
Hi @tost11
Same as the smart pointers comment, internally, we prefer the classic way of writing for loops so we'll stick to doing it that way. Thanks for your input though! I hope you're enjoying making something cool with Inkplate.
-Rob
instead of
for (int i = 0; i < eventList.size(); i++) { if (eventList[i]->isActive()) { return eventList[i]; } }