diff options
| author | bunnei <bunneidev@gmail.com> | 2020-11-03 16:34:07 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-03 16:34:07 -0800 |
| commit | 4bfa411ddcf3b5454c85ada70f28438feaaae93e (patch) | |
| tree | bf7e27c7e5ba36ace45e36b93cc533835d7cfb91 /src/video_core/command_classes/nvdec.h | |
| parent | 46fdc94586145cdfcf4814f637380c75cb275e31 (diff) | |
| parent | 4f0f481f63d0d5587a6d6d319f9815de87ed79ec (diff) | |
Merge pull request #4874 from lioncash/nodiscard2
nvdec: Make use of [[nodiscard]] where applicable
Diffstat (limited to 'src/video_core/command_classes/nvdec.h')
| -rw-r--r-- | src/video_core/command_classes/nvdec.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/command_classes/nvdec.h b/src/video_core/command_classes/nvdec.h index af14f9857..eec4443f9 100644 --- a/src/video_core/command_classes/nvdec.h +++ b/src/video_core/command_classes/nvdec.h @@ -26,8 +26,8 @@ public: void ProcessMethod(Method method, const std::vector<u32>& arguments); /// Return most recently decoded frame - AVFrame* GetFrame(); - const AVFrame* GetFrame() const; + [[nodiscard]] AVFrame* GetFrame(); + [[nodiscard]] const AVFrame* GetFrame() const; private: /// Invoke codec to decode a frame |
