update: fix build with latest ndn-cxx
Change-Id: Ie8410bbc292647d88c649dc88366e6d9372f8e3e
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 @@
class AdvertisePrefixCommand : public ndn::nfd::ControlCommand<AdvertisePrefixCommand>
{
- NDN_CXX_CONTROL_COMMAND(AdvertisePrefixCommand, "nlsr", "advertise");
+ NDN_CXX_CONTROL_COMMAND("nlsr", "advertise");
};
class WithdrawPrefixCommand : public ndn::nfd::ControlCommand<WithdrawPrefixCommand>
{
- NDN_CXX_CONTROL_COMMAND(WithdrawPrefixCommand, "nlsr", "withdraw");
+ NDN_CXX_CONTROL_COMMAND("nlsr", "withdraw");
};
} // namespace nlsr::update