Classes with virtual methods ought to have virtual destructor
Summary: Classes with virtual methods (include pure virtual) should have virtual destructor. Reviewed By: jknoxville, scottrice Differential Revision: D10241087 fbshipit-source-id: c7d0d27e28da91648cda7bffb4f1a8772833332c
This commit is contained in:
committed by
Facebook Github Bot
parent
8da621f8e9
commit
963a59176f
@@ -10,5 +10,6 @@
|
||||
|
||||
class FlipperStateUpdateListener {
|
||||
public:
|
||||
virtual ~FlipperStateUpdateListener() = default;
|
||||
virtual void onUpdate() = 0;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user