table: pit::FaceRecord stores Face& instead of shared_ptr

refs #3164

Change-Id: Ib23ab2341a37213fee791f2070f13b76da851d53
This commit is contained in:
Junxiao Shi
2016-08-01 21:45:11 +00:00
parent 02b73f5705
commit 9cff779038
23 changed files with 193 additions and 193 deletions
+8 -8
View File
@@ -1,12 +1,12 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
* Copyright (c) 2014, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
* Washington University in St. Louis,
* Beijing Institute of Technology,
* The University of Memphis
* Copyright (c) 2014-2016, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
* Washington University in St. Louis,
* Beijing Institute of Technology,
* The University of Memphis.
*
* This file is part of NFD (Named Data Networking Forwarding Daemon).
* See AUTHORS.md for complete list of NFD authors and contributors.
@@ -28,7 +28,7 @@
namespace nfd {
namespace pit {
FaceRecord::FaceRecord(shared_ptr<Face> face)
FaceRecord::FaceRecord(Face& face)
: m_face(face)
, m_lastNonce(0)
, m_lastRenewed(time::steady_clock::TimePoint::min())