face: reimplement EndpointId with std::variant
Refs: #5041
Change-Id: Ib8aced49a7aa14b137fb06de4a0ae8b979f07587
diff --git a/tests/daemon/face/face.t.cpp b/tests/daemon/face/face.t.cpp
index 34a19a7..8b8448d 100644
--- a/tests/daemon/face/face.t.cpp
+++ b/tests/daemon/face/face.t.cpp
@@ -104,16 +104,16 @@
face1->afterReceiveNack.connect([&] (auto&&...) { ++nReceivedNacks; });
for (size_t i = 0; i < nInInterests; ++i) {
- face1->receiveInterest(*makeInterest("/JSQdqward4"), 0);
+ face1->receiveInterest(*makeInterest("/JSQdqward4"));
}
for (size_t i = 0; i < nInData; ++i) {
- face1->receiveData(*makeData("/hT8FDigWn1"), 0);
+ face1->receiveData(*makeData("/hT8FDigWn1"));
}
for (size_t i = 0; i < nInNacks; ++i) {
face1->receiveNack(makeNack(*makeInterest("/StnEVTj4Ex", false, std::nullopt, 561),
- lp::NackReason::CONGESTION), 0);
+ lp::NackReason::CONGESTION));
}
for (size_t i = 0; i < nOutInterests; ++i) {