diff options
| author | 2020-10-30 15:11:40 -0400 | |
|---|---|---|
| committer | 2020-10-30 15:11:40 -0400 | |
| commit | 6db0c0d8d919459966bd59491450cd10be859b78 (patch) | |
| tree | e3e9fa06d1093b0b85a149da4eb3c9b5b55ddcfb | |
| parent | CMakeLists: Resolve MSVC build failures (diff) | |
| parent | video_core: unbreak -Werror in NVDEC with Clang (diff) | |
| download | yuzu-6db0c0d8d919459966bd59491450cd10be859b78.tar.gz yuzu-6db0c0d8d919459966bd59491450cd10be859b78.tar.xz yuzu-6db0c0d8d919459966bd59491450cd10be859b78.zip | |
Merge pull request #4872 from jbeich/clang
video_core: unbreak -Werror in NVDEC with Clang
| -rw-r--r-- | src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.cpp b/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.cpp index 85792495f..30f03f845 100644 --- a/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.cpp +++ b/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.cpp | |||
| @@ -38,7 +38,7 @@ std::size_t WriteVectors(std::vector<u8>& dst, const std::vector<T>& src, std::s | |||
| 38 | 38 | ||
| 39 | namespace NvErrCodes { | 39 | namespace NvErrCodes { |
| 40 | constexpr u32 Success{}; | 40 | constexpr u32 Success{}; |
| 41 | constexpr u32 OutOfMemory{static_cast<u32>(-12)}; | 41 | [[maybe_unused]] constexpr u32 OutOfMemory{static_cast<u32>(-12)}; |
| 42 | constexpr u32 InvalidInput{static_cast<u32>(-22)}; | 42 | constexpr u32 InvalidInput{static_cast<u32>(-22)}; |
| 43 | } // namespace NvErrCodes | 43 | } // namespace NvErrCodes |
| 44 | 44 | ||