table: pit::FaceRecord stores Face& instead of shared_ptr
refs #3164 Change-Id: Ib23ab2341a37213fee791f2070f13b76da851d53
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user