mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-12-29 06:26:44 +00:00
producer_listener: Add virtual destructor to IProducerListener
Several member variables are shared_ptr's to this base class. Even though producer listeners are still unimplemented, this ensures we always have consistent deletion behavior once this ends up being used polymorphically.
This commit is contained in:
parent
6291eec700
commit
25dda06f49
|
@ -10,6 +10,7 @@ namespace Service::android {
|
||||||
|
|
||||||
class IProducerListener {
|
class IProducerListener {
|
||||||
public:
|
public:
|
||||||
|
virtual ~IProducerListener() = default;
|
||||||
virtual void OnBufferReleased() = 0;
|
virtual void OnBufferReleased() = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue