Merge pull request #5124 from lioncash/video-shadow

video_core: Resolve more variable shadowing scenarios
This commit is contained in:
bunnei 2020-12-05 00:48:08 -08:00 committed by GitHub
commit e6a896c4bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
42 changed files with 219 additions and 206 deletions

View file

@ -233,7 +233,7 @@ constexpr std::array<s32, 254> map_lut{
}
} // Anonymous namespace
VP9::VP9(GPU& gpu) : gpu(gpu) {}
VP9::VP9(GPU& gpu_) : gpu{gpu_} {}
VP9::~VP9() = default;

View file

@ -108,7 +108,7 @@ private:
class VP9 {
public:
explicit VP9(GPU& gpu);
explicit VP9(GPU& gpu_);
~VP9();
VP9(const VP9&) = delete;