Skip to content

Commit

Permalink
Remove unnecessary [[maybe_unused]] and const on POD types.
Browse files Browse the repository at this point in the history
  • Loading branch information
abeltrano committed Jan 20, 2024
1 parent 57bfc72 commit b5fedeb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/common/service/NetRemoteService.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit b5fedeb

Please sign in to comment.