aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/nvdrv/devices/nvmap.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-05-04 04:04:05 -0400
committerLioncash <mathew1800@gmail.com>2021-05-04 04:38:38 -0400
commit9e726a9250033f5c8fbddd917c7779b808d99705 (patch)
tree587ac77fbf0c4aa24c80710c802385bc4ac9b4d6 /src/core/hle/service/nvdrv/devices/nvmap.cpp
parentdf51eb9bdec5be189e0662ab81bc29277f3da343 (diff)
service: Resolve cases of member field shadowing
Now all that remains is for kernel code to be 'shadow-free' and then -Wshadow can be turned into an error.
Diffstat (limited to 'src/core/hle/service/nvdrv/devices/nvmap.cpp')
-rw-r--r--src/core/hle/service/nvdrv/devices/nvmap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvmap.cpp b/src/core/hle/service/nvdrv/devices/nvmap.cpp
index dd1355522..dc59b4494 100644
--- a/src/core/hle/service/nvdrv/devices/nvmap.cpp
+++ b/src/core/hle/service/nvdrv/devices/nvmap.cpp
@@ -11,7 +11,7 @@
namespace Service::Nvidia::Devices {
-nvmap::nvmap(Core::System& system) : nvdevice(system) {
+nvmap::nvmap(Core::System& system_) : nvdevice{system_} {
// Handle 0 appears to be used when remapping, so we create a placeholder empty nvmap object to
// represent this.
CreateObject(0);