Fixing Coding Style
diff --git a/src/route/nlsr_rte.hpp b/src/route/nlsr_rte.hpp
index 736909b..484edab 100644
--- a/src/route/nlsr_rte.hpp
+++ b/src/route/nlsr_rte.hpp
@@ -14,8 +14,8 @@
{
public:
RoutingTableEntry()
- : destination()
- , nhl()
+ : m_destination()
+ , m_nhl()
{
}
@@ -24,28 +24,28 @@
}
RoutingTableEntry(string dest)
- : nhl()
+ : m_nhl()
{
- destination=dest;
+ m_destination=dest;
}
string getDestination()
{
- return destination;
+ return m_destination;
}
Nhl& getNhl()
{
- return nhl;
+ return m_nhl;
}
private:
- string destination;
- Nhl nhl;
+ string m_destination;
+ Nhl m_nhl;
};
ostream&
- operator<<(ostream& os, RoutingTableEntry &rte);
+ operator<<(ostream& os, RoutingTableEntry& rte);
}