Merge pull request #4885 from lioncash/control-ref

ControlReference: Add missing virtual destructor
This commit is contained in:
Mat M 2017-02-10 19:40:33 -05:00 committed by GitHub
commit 2cad67952d
2 changed files with 3 additions and 0 deletions

View File

@ -52,6 +52,8 @@ ControlReference::ControlReference() : range(1), m_parsed_expression(nullptr)
{
}
ControlReference::~ControlReference() = default;
InputReference::InputReference() : ControlReference()
{
}

View File

@ -24,6 +24,7 @@ class ControlReference
public:
static bool InputGateOn();
virtual ~ControlReference();
virtual ControlState State(const ControlState state = 0) = 0;
virtual ciface::Core::Device::Control* Detect(const unsigned int ms,
ciface::Core::Device* const device) = 0;