Summary: Classes with virtual methods (include pure virtual) should have virtual destructor. Reviewed By: jknoxville, scottrice Differential Revision: D10241087 fbshipit-source-id: c7d0d27e28da91648cda7bffb4f1a8772833332c
16 lines
332 B
C++
16 lines
332 B
C++
/*
|
|
* Copyright (c) 2018-present, Facebook, Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the LICENSE
|
|
* file in the root directory of this source tree.
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
class FlipperStateUpdateListener {
|
|
public:
|
|
virtual ~FlipperStateUpdateListener() = default;
|
|
virtual void onUpdate() = 0;
|
|
};
|