diff options
| author | 2020-12-02 23:08:43 -0800 | |
|---|---|---|
| committer | 2020-12-02 23:08:43 -0800 | |
| commit | 88089c87546b62536a27738f5ee03dff52fa76e9 (patch) | |
| tree | 5221c80d0ac3e7bbdb0c342098378e6c84951658 /src/audio_core/effect_context.h | |
| parent | Merge pull request #5002 from ameerj/nvdec-frameskip (diff) | |
| parent | audio_core: Make shadowing and unused parameters errors (diff) | |
| download | yuzu-88089c87546b62536a27738f5ee03dff52fa76e9.tar.gz yuzu-88089c87546b62536a27738f5ee03dff52fa76e9.tar.xz yuzu-88089c87546b62536a27738f5ee03dff52fa76e9.zip | |
Merge pull request #5000 from lioncash/audio-error
audio_core: Make shadowing and unused parameters errors
Diffstat (limited to 'src/audio_core/effect_context.h')
| -rw-r--r-- | src/audio_core/effect_context.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/audio_core/effect_context.h b/src/audio_core/effect_context.h index 03c5a0f04..c5e0b398c 100644 --- a/src/audio_core/effect_context.h +++ b/src/audio_core/effect_context.h | |||
| @@ -184,7 +184,7 @@ struct AuxAddress { | |||
| 184 | 184 | ||
| 185 | class EffectBase { | 185 | class EffectBase { |
| 186 | public: | 186 | public: |
| 187 | explicit EffectBase(EffectType effect_type); | 187 | explicit EffectBase(EffectType effect_type_); |
| 188 | virtual ~EffectBase(); | 188 | virtual ~EffectBase(); |
| 189 | 189 | ||
| 190 | virtual void Update(EffectInfo::InParams& in_params) = 0; | 190 | virtual void Update(EffectInfo::InParams& in_params) = 0; |
| @@ -206,7 +206,7 @@ protected: | |||
| 206 | template <typename T> | 206 | template <typename T> |
| 207 | class EffectGeneric : public EffectBase { | 207 | class EffectGeneric : public EffectBase { |
| 208 | public: | 208 | public: |
| 209 | explicit EffectGeneric(EffectType effect_type) : EffectBase(effect_type) {} | 209 | explicit EffectGeneric(EffectType effect_type_) : EffectBase(effect_type_) {} |
| 210 | 210 | ||
| 211 | T& GetParams() { | 211 | T& GetParams() { |
| 212 | return internal_params; | 212 | return internal_params; |
| @@ -306,7 +306,7 @@ private: | |||
| 306 | 306 | ||
| 307 | class EffectContext { | 307 | class EffectContext { |
| 308 | public: | 308 | public: |
| 309 | explicit EffectContext(std::size_t effect_count); | 309 | explicit EffectContext(std::size_t effect_count_); |
| 310 | ~EffectContext(); | 310 | ~EffectContext(); |
| 311 | 311 | ||
| 312 | [[nodiscard]] std::size_t GetCount() const; | 312 | [[nodiscard]] std::size_t GetCount() const; |