table: don't use shared_ptr in FIB
refs #3164
Change-Id: I5b5eb47d60f6bf5b6389c32ac840f793767e4334
diff --git a/daemon/fw/asf-probing-module.hpp b/daemon/fw/asf-probing-module.hpp
index 585b76a..3a4df6e 100644
--- a/daemon/fw/asf-probing-module.hpp
+++ b/daemon/fw/asf-probing-module.hpp
@@ -43,7 +43,7 @@
void
scheduleProbe(const fib::Entry& fibEntry, const time::milliseconds& interval);
- shared_ptr<Face>
+ Face*
getFaceToProbe(const Face& inFace,
const Interest& interest,
const fib::Entry& fibEntry,
@@ -57,11 +57,11 @@
private:
// Used to associate FaceInfo with the face in a NextHop
- typedef std::pair<FaceInfo*, shared_ptr<Face>> FaceInfoFacePair;
+ typedef std::pair<FaceInfo*, Face*> FaceInfoFacePair;
typedef std::function<bool(FaceInfoFacePair, FaceInfoFacePair)> FaceInfoPredicate;
typedef std::set<FaceInfoFacePair, FaceInfoPredicate> FaceInfoFacePairSet;
- shared_ptr<Face>
+ Face*
getFaceBasedOnProbability(const FaceInfoFacePairSet& rankedFaces);
double