--- a/src/dot11s/model/ie-dot11s-metric-report.cc Sat Mar 05 11:47:37 2011 -0800
+++ b/src/dot11s/model/ie-dot11s-metric-report.cc Sat Mar 05 13:31:17 2011 -0800
@@ -75,6 +75,16 @@
{
return (a.m_metric == b.m_metric);
}
+bool
+operator< (const IeLinkMetricReport & a, const IeLinkMetricReport & b)
+{
+ return (a.m_metric < b.m_metric);
+}
+bool
+operator> (const IeLinkMetricReport & a, const IeLinkMetricReport & b)
+{
+ return (a.m_metric > b.m_metric);
+}
std::ostream &
operator << (std::ostream &os, const IeLinkMetricReport &a)
{
--- a/src/dot11s/model/ie-dot11s-metric-report.h Sat Mar 05 11:47:37 2011 -0800
+++ b/src/dot11s/model/ie-dot11s-metric-report.h Sat Mar 05 13:31:17 2011 -0800
@@ -54,6 +54,10 @@
friend bool operator> (const IeLinkMetricReport & a, const IeLinkMetricReport & b);
friend bool operator< (const IeLinkMetricReport & a, const IeLinkMetricReport & b);
};
+
+bool operator== (const IeLinkMetricReport & a, const IeLinkMetricReport & b);
+bool operator> (const IeLinkMetricReport & a, const IeLinkMetricReport & b);
+bool operator< (const IeLinkMetricReport & a, const IeLinkMetricReport & b);
std::ostream &operator << (std::ostream &os, const IeLinkMetricReport &linkMetricReport);
} //namespace dot11s
} // namespace ns3