summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2023-07-01 22:03:21 -0700
committercomex <comexk@gmail.com>2023-07-01 22:03:21 -0700
commit644c3ce609c7a327866ae0107bd7772e34e8ecb9 (patch)
treeefcbfdff533e6127fb7edf1593486101e0e52579 /src
parent0ed1cb7266e35c4b1161fa01f172d27befdc64a4 (diff)
Rename variables to avoid -Wshadow warnings under GCC
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/ssl/ssl.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/service/ssl/ssl.cpp b/src/core/hle/service/ssl/ssl.cpp
index 0919be55f..9c96f9763 100644
--- a/src/core/hle/service/ssl/ssl.cpp
+++ b/src/core/hle/service/ssl/ssl.cpp
@@ -60,11 +60,11 @@ struct SslContextSharedData {
class ISslConnection final : public ServiceFramework<ISslConnection> {
public:
- explicit ISslConnection(Core::System& system_, SslVersion version,
- std::shared_ptr<SslContextSharedData>& shared_data,
- std::unique_ptr<SSLConnectionBackend>&& backend)
- : ServiceFramework{system_, "ISslConnection"}, ssl_version{version},
- shared_data{shared_data}, backend{std::move(backend)} {
+ explicit ISslConnection(Core::System& system_in, SslVersion ssl_version_in,
+ std::shared_ptr<SslContextSharedData>& shared_data_in,
+ std::unique_ptr<SSLConnectionBackend>&& backend_in)
+ : ServiceFramework{system_in, "ISslConnection"}, ssl_version{ssl_version_in},
+ shared_data{shared_data_in}, backend{std::move(backend_in)} {
// clang-format off
static const FunctionInfo functions[] = {
{0, &ISslConnection::SetSocketDescriptor, "SetSocketDescriptor"},