Skip to content

Commit

Permalink
Update Sensor.h
Browse files Browse the repository at this point in the history
Added virtual destructor.
  • Loading branch information
suoapvs committed Dec 25, 2019
1 parent c221d0b commit 5f7c84f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Sensor.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
v.1.3.3
- updated documentation
v.1.3.5
- added virtual destructor
Created by Yurii Salimov, May, 2018.
Released into the public domain.
*/
Expand All @@ -23,6 +26,12 @@ class Sensor {

public:
/**
Destructor
Deletes Sensor instance.
*/
virtual ~Sensor() {};

/**
Reads and return a signal from a sensor.
@return the sensor signal
Expand Down

0 comments on commit 5f7c84f

Please sign in to comment.