From b5fedebf44a832e07b47f147c6cc691ab53459c4 Mon Sep 17 00:00:00 2001 From: Andrew Beltrano Date: Sat, 20 Jan 2024 05:28:45 +0000 Subject: [PATCH] Remove unnecessary [[maybe_unused]] and const on POD types. --- src/common/service/NetRemoteService.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/common/service/NetRemoteService.cxx b/src/common/service/NetRemoteService.cxx index 219c0216..85064c7e 100644 --- a/src/common/service/NetRemoteService.cxx +++ b/src/common/service/NetRemoteService.cxx @@ -29,7 +29,7 @@ NetRemoteService::GetAccessPointManager() noexcept namespace detail { Microsoft::Net::Wifi::Dot11PhyType -IeeeProtocolToNetRemotePhyType(const Microsoft::Net::Wifi::IeeeProtocol& ieeeProtocol) +IeeeProtocolToNetRemotePhyType(Microsoft::Net::Wifi::IeeeProtocol ieeeProtocol) { using Microsoft::Net::Wifi::Dot11PhyType; using Microsoft::Net::Wifi::IeeeProtocol; @@ -69,7 +69,7 @@ IeeeProtocolToNetRemotePhyType(const Microsoft::Net::Wifi::IeeeProtocol& ieeePro } Microsoft::Net::Wifi::RadioBand -IeeeFrequencyBandToNetRemoteRadioBand(const Microsoft::Net::Wifi::IeeeFrequencyBand& ieeeFrequencyBand) +IeeeFrequencyBandToNetRemoteRadioBand(Microsoft::Net::Wifi::IeeeFrequencyBand ieeeFrequencyBand) { using Microsoft::Net::Wifi::IeeeFrequencyBand; using Microsoft::Net::Wifi::RadioBand; @@ -94,7 +94,7 @@ IeeeFrequencyBandToNetRemoteRadioBand(const Microsoft::Net::Wifi::IeeeFrequencyB } Microsoft::Net::Wifi::Dot11AuthenticationAlgorithm -IeeeAuthenticationAlgorithmToNetRemoteAuthenticationAlgorithm(const Microsoft::Net::Wifi::IeeeAuthenticationAlgorithm& ieeeAuthenticationAlgorithm) +IeeeAuthenticationAlgorithmToNetRemoteAuthenticationAlgorithm(Microsoft::Net::Wifi::IeeeAuthenticationAlgorithm ieeeAuthenticationAlgorithm) { using Microsoft::Net::Wifi::Dot11AuthenticationAlgorithm; using Microsoft::Net::Wifi::IeeeAuthenticationAlgorithm; @@ -128,7 +128,7 @@ IeeeAuthenticationAlgorithmToNetRemoteAuthenticationAlgorithm(const Microsoft::N } Microsoft::Net::Wifi::Dot11CipherAlgorithm -IeeeCipherAlgorithmToNetRemoteCipherAlgorithm(const Microsoft::Net::Wifi::IeeeCipherSuite& ieeeCipherSuite) +IeeeCipherAlgorithmToNetRemoteCipherAlgorithm(Microsoft::Net::Wifi::IeeeCipherSuite ieeeCipherSuite) { using Microsoft::Net::Wifi::Dot11CipherAlgorithm; using Microsoft::Net::Wifi::IeeeCipherSuite; @@ -178,7 +178,7 @@ IeeeCipherAlgorithmToNetRemoteCipherAlgorithm(const Microsoft::Net::Wifi::IeeeCi } Microsoft::Net::Wifi::AccessPointCapabilities -IeeeAccessPointCapabilitiesToNetRemoteAccessPointCapabilities([[maybe_unused]] const Microsoft::Net::Wifi::Ieee80211AccessPointCapabilities& ieeeCapabilities) +IeeeAccessPointCapabilitiesToNetRemoteAccessPointCapabilities(const Microsoft::Net::Wifi::Ieee80211AccessPointCapabilities& ieeeCapabilities) { using Microsoft::Net::Wifi::AccessPointCapabilities; using Microsoft::Net::Wifi::Ieee80211AccessPointCapabilities;