From c7b5e92311244679388554aa95f7336567e720c0 Mon Sep 17 00:00:00 2001 From: Sarah Tappon Date: Wed, 6 May 2015 23:14:39 -0700 Subject: [PATCH] add default constructor in place of constructor() method --- Adafruit_Sensor.cpp | 3 --- Adafruit_Sensor.h | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Adafruit_Sensor.cpp b/Adafruit_Sensor.cpp index 2977b27..ee59b27 100644 --- a/Adafruit_Sensor.cpp +++ b/Adafruit_Sensor.cpp @@ -1,5 +1,2 @@ #include "Adafruit_Sensor.h" #include - -void Adafruit_Sensor::constructor() { -} diff --git a/Adafruit_Sensor.h b/Adafruit_Sensor.h index 4e10868..e6b2c3d 100644 --- a/Adafruit_Sensor.h +++ b/Adafruit_Sensor.h @@ -139,7 +139,7 @@ typedef struct class Adafruit_Sensor { public: // Constructor(s) - void constructor(); + Adafruit_Sensor() {} virtual ~Adafruit_Sensor() {} // These must be defined by the subclass