routing: use unique_ptr for signal container

Change-Id: I1912f8630d0e26d8c25c2050208f6b8b0ffd9009
refs: #4268
This commit is contained in:
Nick Gordon committed 2017-09-06 14:51:26 -07:00
1 parent 8f23b5d58e
commit d40a588e25
4 files changed
+5 -4

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ namespace nlsr {
INIT_LOGGER("RoutingTable");
RoutingTable::RoutingTable(ndn::Scheduler& scheduler)
: afterRoutingChange{std::make_shared<AfterRoutingChange>()}
: afterRoutingChange{ndn::make_unique<AfterRoutingChange>()}
, m_scheduler(scheduler)
, m_NO_NEXT_HOP{-12345}
, m_routingCalcInterval{static_cast<uint32_t>(ROUTING_CALC_INTERVAL_DEFAULT)}