mirror of
https://github.com/citra-emu/citra-canary.git
synced 2025-02-26 18:46:48 +00:00
applets/swkbd: Make destructor virtual
Prevents undefined behavior when destroying a derived class through a base class pointer.
This commit is contained in:
parent
aeb6a037ed
commit
89eeb64854
|
@ -82,6 +82,8 @@ enum class ValidationError {
|
||||||
|
|
||||||
class SoftwareKeyboard {
|
class SoftwareKeyboard {
|
||||||
public:
|
public:
|
||||||
|
virtual ~SoftwareKeyboard() = default;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Executes the software keyboard, configured with the given parameters.
|
* Executes the software keyboard, configured with the given parameters.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue