Commit da0f08da authored by Alejandro Homs Puron's avatar Alejandro Homs Puron Committed by bliss administrator

Add missing virtual destructor for Timer::Callback (abstract) class

parent 38db54e3
Pipeline #34132 passed with stages
in 31 minutes and 26 seconds
......@@ -38,6 +38,8 @@ namespace lima
enum Stat {DOWN,DELAY,UP,RISING_EDGE,FALLING_EDGE};
class Callback
{
public:
virtual ~Callback() {}
protected:
virtual void start() {}
virtual void risingEdge() {}
......
......@@ -31,6 +31,8 @@ public:
enum Stat {DOWN,UP,RISING_EDGE,FALLING_EDGE};
class Callback
{
public:
virtual ~Callback();
protected:
virtual void start();
virtual void risingEdge();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment