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/codecs/vp9.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/codecs/vp9.h')
| -rw-r--r-- | src/video_core/command_classes/codecs/vp9.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/command_classes/codecs/vp9.h b/src/video_core/command_classes/codecs/vp9.h index 05c9682fa..e2504512c 100644 --- a/src/video_core/command_classes/codecs/vp9.h +++ b/src/video_core/command_classes/codecs/vp9.h @@ -119,7 +119,7 @@ public: /// Composes the VP9 frame from the GPU state information. Based on the official VP9 spec /// documentation - std::vector<u8>& ComposeFrameHeader(NvdecCommon::NvdecRegisters& state); + [[nodiscard]] const std::vector<u8>& ComposeFrameHeader(NvdecCommon::NvdecRegisters& state); /// Returns true if the most recent frame was a hidden frame. [[nodiscard]] bool WasFrameHidden() const { |
