Closed mathzol closed 2 years ago
Is there an example of the scenario where this would be needed ? I can't think of a situation.
By using this empty constructor, the class may be left in an undefined state.
Please merge, here's an example of where you might need an empty constructor. https://github.com/bguest/AcceleratedLED/blob/master/lib/AcceleratedLED328/lib/Strip.h https://github.com/bguest/AcceleratedLED/blob/master/lib/AcceleratedLED328/lib/Strip.cpp
Closing for now. Generally agree with @yngndrw comment. The class will need to use an existing constructor.
Add empty constructor cases that if you use the lib as a property of an other class.