Skip to content

Conversation

@aentinger
Copy link
Contributor

There is simply no need to declare those functions virtual. They don't override anything (no base class) and its highly unlikely that they will be overriden by a future derived class. However, should the later thing happen you can still make those functions virtual if necessary.

There is simply no need to declare those functions virtual. They don't override anything (no base class) and its highly unlikely that they will be overriden by a future derived class. However, should the later thing happen you can still make those functions virtual if necessary.
@aentinger aentinger added the type: enhancement Proposed improvement label Aug 30, 2021
@aentinger aentinger self-assigned this Aug 30, 2021
@github-actions
Copy link

Memory usage change @ 42b69a9

Board flash % RAM for global variables %
arduino:mbed_nano:nanorp2040connect 💚 -648 - -184 -0.0 - -0.0 💚 -276 - -4 -0.1 - -0.0
Click for full report table
Board examples/SimpleAccelerometer
flash
% examples/SimpleAccelerometer
RAM for global variables
% examples/SimpleGyroscope
flash
% examples/SimpleGyroscope
RAM for global variables
% examples/SimpleTemperature
flash
% examples/SimpleTemperature
RAM for global variables
%
arduino:mbed_nano:nanorp2040connect -184 -0.0 -4 -0.0 -184 -0.0 -4 -0.0 -648 -0.0 -276 -0.1
Click for full report CSV
Board,examples/SimpleAccelerometer<br>flash,%,examples/SimpleAccelerometer<br>RAM for global variables,%,examples/SimpleGyroscope<br>flash,%,examples/SimpleGyroscope<br>RAM for global variables,%,examples/SimpleTemperature<br>flash,%,examples/SimpleTemperature<br>RAM for global variables,%
arduino:mbed_nano:nanorp2040connect,-184,-0.0,-4,-0.0,-184,-0.0,-4,-0.0,-648,-0.0,-276,-0.1

@aentinger aentinger merged commit 3f1f180 into master Aug 30, 2021
@aentinger aentinger deleted the remove-virtual branch August 30, 2021 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement Proposed improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants