add default constructor in place of constructor() method

This commit is contained in:
Sarah Tappon
2015-05-06 23:14:39 -07:00
parent 1a266c24bf
commit c7b5e92311
2 changed files with 1 additions and 4 deletions

View File

@ -1,5 +1,2 @@
#include "Adafruit_Sensor.h"
#include <avr/pgmspace.h>
void Adafruit_Sensor::constructor() {
}

View File

@ -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