InputCommon/Core: Get rid of some virtual destructor warnings
These classes have virtual methods, but no virtual destructor, which causes warnings on some compilers.
This commit is contained in:
parent
4bf4778cd7
commit
d39b519850
|
@ -128,6 +128,10 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
virtual ~JitBaseBlockCache()
|
||||
{
|
||||
}
|
||||
|
||||
int AllocateBlock(u32 em_address);
|
||||
void FinalizeBlock(int block_num, bool block_link, const u8 *code_ptr);
|
||||
|
||||
|
|
|
@ -85,7 +85,6 @@ public:
|
|||
class Setting
|
||||
{
|
||||
public:
|
||||
|
||||
Setting(const std::string& _name, const ControlState def_value
|
||||
, const unsigned int _low = 0, const unsigned int _high = 100)
|
||||
: name(_name)
|
||||
|
@ -96,6 +95,10 @@ public:
|
|||
, is_virtual(false)
|
||||
, is_iterate(false) {}
|
||||
|
||||
virtual ~Setting()
|
||||
{
|
||||
}
|
||||
|
||||
const std::string name;
|
||||
ControlState value;
|
||||
const ControlState default_value;
|
||||
|
|
Loading…
Reference in New Issue