mcci-catena / Catena-Arduino-Platform

Arduino platform library for MCCI Catena IoT Systems
MIT License
12 stars 11 forks source link

Member initializers should be in order of initialization #332

Open terrillmoore opened 2 years ago

terrillmoore commented 2 years ago

GCC -Wall warns when member initializers are out of order relative to actual initialization order, which is driven by the order that fields are declared, not order of appearance in the constructor. This is a valid concern, as it can otherwise be confusing. Reorder as needed.