src: Renaming class to spell out them (Adl, Nhl, Npl, Npt, Npte)
Refs: #1534
Change-Id: If4a205e8ad2419505cc796027a5c863471ef5439
diff --git a/src/route/nexthop.hpp b/src/route/nexthop.hpp
index 7153e0f..ed8d319 100644
--- a/src/route/nexthop.hpp
+++ b/src/route/nexthop.hpp
@@ -2,6 +2,7 @@
#define NLSR_NEXTHOP_HPP
#include <iostream>
+#include <boost/cstdint.hpp>
namespace nlsr {
class NextHop
@@ -13,20 +14,20 @@
{
}
- NextHop(int cf, double rc)
+ NextHop(uint32_t cf, double rc)
{
m_connectingFace = cf;
m_routeCost = rc;
}
- int
+ uint32_t
getConnectingFace() const
{
return m_connectingFace;
}
void
- setConnectingFace(int cf)
+ setConnectingFace(uint32_t cf)
{
m_connectingFace = cf;
}
@@ -44,7 +45,7 @@
}
private:
- int m_connectingFace;
+ uint32_t m_connectingFace;
double m_routeCost;
};