From f573c63cecdbf757e6a05cfd0913edf045b5496c Mon Sep 17 00:00:00 2001 From: Davide Pesavento Date: Sun, 5 Jan 2025 21:42:02 -0500 Subject: [PATCH] update: fix build with latest ndn-cxx Change-Id: Ie8410bbc292647d88c649dc88366e6d9372f8e3e --- src/update/prefix-update-commands.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/update/prefix-update-commands.hpp b/src/update/prefix-update-commands.hpp index 0f2f889..7557312 100644 --- a/src/update/prefix-update-commands.hpp +++ b/src/update/prefix-update-commands.hpp @@ -40,12 +40,12 @@ namespace nlsr::update { class AdvertisePrefixCommand : public ndn::nfd::ControlCommand { - NDN_CXX_CONTROL_COMMAND(AdvertisePrefixCommand, "nlsr", "advertise"); + NDN_CXX_CONTROL_COMMAND("nlsr", "advertise"); }; class WithdrawPrefixCommand : public ndn::nfd::ControlCommand { - NDN_CXX_CONTROL_COMMAND(WithdrawPrefixCommand, "nlsr", "withdraw"); + NDN_CXX_CONTROL_COMMAND("nlsr", "withdraw"); }; } // namespace nlsr::update