Skip to content

Commit 7f7f4dd

Browse files
committed
remove override on sgp30/sgp40 destructors
1 parent 7e6e75c commit 7f7f4dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/i2c/drivers/WipperSnapper_I2C_Driver_SGP30.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class WipperSnapper_I2C_Driver_SGP30 : public WipperSnapper_I2C_Driver {
3434
@brief Destructor for an SGP30 sensor.
3535
*/
3636
/*******************************************************************************/
37-
~WipperSnapper_I2C_Driver_SGP30() override {
37+
~WipperSnapper_I2C_Driver_SGP30() {
3838
if (_sgp30) {
3939
delete _sgp30;
4040
_sgp30 = nullptr;

src/components/i2c/drivers/WipperSnapper_I2C_Driver_SGP40.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class WipperSnapper_I2C_Driver_SGP40 : public WipperSnapper_I2C_Driver {
5252
when the driver is destroyed.
5353
*/
5454
/*******************************************************************************/
55-
~WipperSnapper_I2C_Driver_SGP40() override {
55+
~WipperSnapper_I2C_Driver_SGP40() {
5656
if (_sgp40) {
5757
delete _sgp40;
5858
_sgp40 = nullptr;

0 commit comments

Comments
 (0)