[meshcop-tlvs] remove "using ot::Encoding::Reverse32" (#4682)

This commit is contained in:
Abtin Keshavarzian
2020-03-13 22:00:58 -07:00
committed by GitHub
parent 63c4dbbc2b
commit 9e1020c52f
+2 -3
View File
@@ -55,7 +55,6 @@
namespace ot {
namespace MeshCoP {
using ot::Encoding::Reverse32;
using ot::Encoding::BigEndian::HostSwap16;
using ot::Encoding::BigEndian::HostSwap32;
@@ -1352,7 +1351,7 @@ public:
* @returns The Channel Mask value.
*
*/
uint32_t GetMask(void) const { return Reverse32(HostSwap32(mMask)); }
uint32_t GetMask(void) const { return Encoding::Reverse32(HostSwap32(mMask)); }
/**
* This method sets the Channel Mask value.
@@ -1360,7 +1359,7 @@ public:
* @param[in] aMask The Channel Mask value.
*
*/
void SetMask(uint32_t aMask) { mMask = HostSwap32(Reverse32(aMask)); }
void SetMask(uint32_t aMask) { mMask = HostSwap32(Encoding::Reverse32(aMask)); }
private:
uint32_t mMask;