table: simplify PIT with C++11 features
refs #2100
Change-Id: I1159761d9439f0a2ff9f6463f89f39372a696e48
diff --git a/tests/daemon/fw/ncc-strategy.cpp b/tests/daemon/fw/ncc-strategy.cpp
index 7d82b5f..09d54be 100644
--- a/tests/daemon/fw/ncc-strategy.cpp
+++ b/tests/daemon/fw/ncc-strategy.cpp
@@ -259,7 +259,7 @@
shared_ptr<Data> data1 = makeData("ndn:/M4mBXCsd");
data1->setFreshnessPeriod(time::milliseconds(5));
strategy->beforeSatisfyInterest(pitEntry1, *face2, *data1);
- pitEntry1->deleteOutRecord(face2);
+ pitEntry1->deleteOutRecord(*face2);
pitEntry1->deleteInRecords();
limitedIo.run(LimitedIo::UNLIMITED_OPS, time::milliseconds(10));