table+fw: update ForwardingHint format
refs #5187
Change-Id: Ic8e32c83caeb60404f1b035a4f7e9841cc513f0b
diff --git a/daemon/table/network-region-table.hpp b/daemon/table/network-region-table.hpp
index e531a45..96acf87 100644
--- a/daemon/table/network-region-table.hpp
+++ b/daemon/table/network-region-table.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2021, Regents of the University of California,
+ * Copyright (c) 2014-2022, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -28,8 +28,6 @@
#include "core/common.hpp"
-#include <ndn-cxx/delegation-list.hpp>
-
namespace nfd {
/** \brief stores a collection of producer region names
@@ -48,11 +46,11 @@
* \retval false the Interest has not reached a producer region
*
* If any delegation name in the forwarding hint is a prefix of any region name,
- * the Interest has reached the producer region and should be forwarded according to its Name;
+ * the Interest has reached the producer region and should be forwarded according to its Name;
* otherwise, the Interest should be forwarded according to the forwarding hint.
*/
bool
- isInProducerRegion(const ndn::DelegationList& forwardingHint) const;
+ isInProducerRegion(span<const Name> forwardingHint) const;
};
} // namespace nfd