mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 14:19:02 +00:00
Merge pull request #2333 from lioncash/virt
InputCommon/Core: Get rid of some virtual destructor warnings
This commit is contained in:
commit
42ebf5b3bf
2 changed files with 8 additions and 1 deletions
|
@ -128,6 +128,10 @@ public:
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virtual ~JitBaseBlockCache()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
int AllocateBlock(u32 em_address);
|
int AllocateBlock(u32 em_address);
|
||||||
void FinalizeBlock(int block_num, bool block_link, const u8 *code_ptr);
|
void FinalizeBlock(int block_num, bool block_link, const u8 *code_ptr);
|
||||||
|
|
||||||
|
|
|
@ -85,7 +85,6 @@ public:
|
||||||
class Setting
|
class Setting
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
Setting(const std::string& _name, const ControlState def_value
|
Setting(const std::string& _name, const ControlState def_value
|
||||||
, const unsigned int _low = 0, const unsigned int _high = 100)
|
, const unsigned int _low = 0, const unsigned int _high = 100)
|
||||||
: name(_name)
|
: name(_name)
|
||||||
|
@ -96,6 +95,10 @@ public:
|
||||||
, is_virtual(false)
|
, is_virtual(false)
|
||||||
, is_iterate(false) {}
|
, is_iterate(false) {}
|
||||||
|
|
||||||
|
virtual ~Setting()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
const std::string name;
|
const std::string name;
|
||||||
ControlState value;
|
ControlState value;
|
||||||
const ControlState default_value;
|
const ControlState default_value;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue