commit | e28d8756ce283217400da735e334746630263abc | [log] [tgz] |
---|---|---|
author | Davide Pesavento <davidepesa@gmail.com> | Sat Mar 19 03:55:25 2022 -0400 |
committer | Davide Pesavento <davidepesa@gmail.com> | Sat Mar 19 03:55:25 2022 -0400 |
tree | f22b71b83f3db5bfd101762e320b4fe9db4abb92 | |
parent | d1f1df802cf4f78b51ce1631a4628997b889afe4 [diff] [blame] |
Avoid deprecated ndn-cxx functions Change-Id: I763368c2ea12902b4ea400f92c23b17ad5a5628e
diff --git a/tests/update/test-nfd-rib-command-processor.cpp b/tests/update/test-nfd-rib-command-processor.cpp index cc23dd0..c9be622 100644 --- a/tests/update/test-nfd-rib-command-processor.cpp +++ b/tests/update/test-nfd-rib-command-processor.cpp
@@ -54,7 +54,7 @@ void sendCommand(ndn::Name prefix, const ndn::nfd::ControlParameters& parameters) { - ndn::Interest interest(prefix.append(parameters.wireEncode())); + ndn::Interest interest(prefix.append(ndn::tlv::GenericNameComponent, parameters.wireEncode())); face.receive(interest); this->advanceClocks(ndn::time::milliseconds(10), 10); }