src: Discard usage of std::pair of reference type and rename functions
Refs: #1531
Change-Id: Ief2a525b8fb8addbd491d202d6b02d5db2b41ea4
diff --git a/src/route/routing-table.hpp b/src/route/routing-table.hpp
index cc04915..8518b12 100644
--- a/src/route/routing-table.hpp
+++ b/src/route/routing-table.hpp
@@ -34,8 +34,8 @@
void
printDryRoutingTable();
- std::pair<RoutingTableEntry&, bool>
- findRoutingTableEntry(std::string destRouter);
+ RoutingTableEntry*
+ findRoutingTableEntry(const std::string destRouter);
void
scheduleRoutingTableCalculation(Nlsr& pnlsr);