1
0
Fork 0
forked from suyu/suyu

consumer_base: Remove redundant virtual

override already serves this purpose
This commit is contained in:
Lioncash 2022-11-28 19:06:31 -05:00
parent 6291eec700
commit 260a495a23

View file

@ -27,12 +27,12 @@ public:
protected: protected:
explicit ConsumerBase(std::unique_ptr<BufferQueueConsumer> consumer_); explicit ConsumerBase(std::unique_ptr<BufferQueueConsumer> consumer_);
virtual ~ConsumerBase(); ~ConsumerBase() override;
virtual void OnFrameAvailable(const BufferItem& item) override; void OnFrameAvailable(const BufferItem& item) override;
virtual void OnFrameReplaced(const BufferItem& item) override; void OnFrameReplaced(const BufferItem& item) override;
virtual void OnBuffersReleased() override; void OnBuffersReleased() override;
virtual void OnSidebandStreamChanged() override; void OnSidebandStreamChanged() override;
void FreeBufferLocked(s32 slot_index); void FreeBufferLocked(s32 slot_index);
Status AcquireBufferLocked(BufferItem* item, std::chrono::nanoseconds present_when); Status AcquireBufferLocked(BufferItem* item, std::chrono::nanoseconds present_when);