add operator == for WifiMode
This commit is contained in:
@@ -3,6 +3,11 @@
|
||||
|
||||
namespace ns3 {
|
||||
|
||||
bool operator == (const WifiMode &a, const WifiMode &b)
|
||||
{
|
||||
return a.GetUid () == b.GetUid ();
|
||||
}
|
||||
|
||||
uint32_t
|
||||
WifiMode::GetBandwidth (void) const
|
||||
{
|
||||
|
||||
@@ -70,6 +70,8 @@ private:
|
||||
uint32_t m_uid;
|
||||
};
|
||||
|
||||
bool operator == (const WifiMode &a, const WifiMode &b);
|
||||
|
||||
class WifiModeFactory
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user