mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-11-01 04:47:53 +00:00
fixed the override warning
``` In file included from citra/src/audio_core/sink_details.cpp:11: citra/src/./audio_core/sdl2_sink.h:25:10: warning: 'SetDevice' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void SetDevice(int device_id); ^ citra/src/./audio_core/sink.h:39:18: note: overridden virtual function is here virtual void SetDevice(int device_id) = 0; ^ ```
This commit is contained in:
parent
bf14f4be22
commit
3545b144f1
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ public:
|
||||||
size_t SamplesInQueue() const override;
|
size_t SamplesInQueue() const override;
|
||||||
|
|
||||||
std::vector<std::string> GetDeviceList() const override;
|
std::vector<std::string> GetDeviceList() const override;
|
||||||
void SetDevice(int device_id);
|
void SetDevice(int device_id) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
struct Impl;
|
struct Impl;
|
||||||
|
|
Loading…
Reference in a new issue