mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-04 00:49:02 -06:00 
			
		
		
		
	Rename variables to avoid -Wshadow warnings under GCC
This commit is contained in:
		@@ -60,11 +60,11 @@ struct SslContextSharedData {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
class ISslConnection final : public ServiceFramework<ISslConnection> {
 | 
					class ISslConnection final : public ServiceFramework<ISslConnection> {
 | 
				
			||||||
public:
 | 
					public:
 | 
				
			||||||
    explicit ISslConnection(Core::System& system_, SslVersion version,
 | 
					    explicit ISslConnection(Core::System& system_in, SslVersion ssl_version_in,
 | 
				
			||||||
                            std::shared_ptr<SslContextSharedData>& shared_data,
 | 
					                            std::shared_ptr<SslContextSharedData>& shared_data_in,
 | 
				
			||||||
                            std::unique_ptr<SSLConnectionBackend>&& backend)
 | 
					                            std::unique_ptr<SSLConnectionBackend>&& backend_in)
 | 
				
			||||||
        : ServiceFramework{system_, "ISslConnection"}, ssl_version{version},
 | 
					        : ServiceFramework{system_in, "ISslConnection"}, ssl_version{ssl_version_in},
 | 
				
			||||||
          shared_data{shared_data}, backend{std::move(backend)} {
 | 
					          shared_data{shared_data_in}, backend{std::move(backend_in)} {
 | 
				
			||||||
        // clang-format off
 | 
					        // clang-format off
 | 
				
			||||||
        static const FunctionInfo functions[] = {
 | 
					        static const FunctionInfo functions[] = {
 | 
				
			||||||
            {0, &ISslConnection::SetSocketDescriptor, "SetSocketDescriptor"},
 | 
					            {0, &ISslConnection::SetSocketDescriptor, "SetSocketDescriptor"},
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user