commit | a6de4290c82e9ad6374e998995cfe955e774d43c | [log] [tgz] |
---|---|---|
author | Junxiao Shi <git@mail1.yoursunny.com> | Tue Jul 12 02:08:10 2016 +0000 |
committer | Junxiao Shi <git@mail1.yoursunny.com> | Tue Jul 12 02:08:10 2016 +0000 |
tree | cf27dd2cbefa8d43b2349c1419ca07a97460be33 | |
parent | 8d843148d2619db0593e721596014ae7eca1b6be [diff] [blame] |
table: don't use shared_ptr in FIB refs #3164 Change-Id: I5b5eb47d60f6bf5b6389c32ac840f793767e4334
diff --git a/tests/daemon/fw/client-control-strategy.t.cpp b/tests/daemon/fw/client-control-strategy.t.cpp index 0305b47..0a31244 100644 --- a/tests/daemon/fw/client-control-strategy.t.cpp +++ b/tests/daemon/fw/client-control-strategy.t.cpp
@@ -54,8 +54,8 @@ forwarder.addFace(face4); Fib& fib = forwarder.getFib(); - shared_ptr<fib::Entry> fibEntry = fib.insert(Name()).first; - fibEntry->addNextHop(face2, 0); + fib::Entry& fibEntry = *fib.insert(Name()).first; + fibEntry.addNextHop(*face2, 0); Pit& pit = forwarder.getPit();