Resolve ASan errors that will be thrown once it is turned on
Plus few minor spelling and code-style issues
refs: #4230
Change-Id: Ia665bab546a9628347af45836dcbe765dc91c54f
diff --git a/src/publisher/lsdb-dataset-interest-handler.hpp b/src/publisher/lsdb-dataset-interest-handler.hpp
index f16075f..f8aa025 100644
--- a/src/publisher/lsdb-dataset-interest-handler.hpp
+++ b/src/publisher/lsdb-dataset-interest-handler.hpp
@@ -23,13 +23,13 @@
#define NLSR_PUBLISHER_LSDB_DATASET_INTEREST_HANDLER_HPP
#include "lsa-publisher.hpp"
+#include "tlv/adjacency-lsa.hpp"
+#include "tlv/coordinate-lsa.hpp"
+#include "tlv/name-lsa.hpp"
#include <ndn-cxx/mgmt/dispatcher.hpp>
#include <ndn-cxx/face.hpp>
#include <boost/noncopyable.hpp>
-#include "tlv/adjacency-lsa.hpp"
-#include "tlv/coordinate-lsa.hpp"
-#include "tlv/name-lsa.hpp"
namespace nlsr {
@@ -56,12 +56,6 @@
ndn::Face& face,
ndn::KeyChain& keyChain);
- const ndn::Name&
- getLocalhostCommandPrefix()
- {
- return LOCALHOST_COMMAND_PREFIX;
- }
-
ndn::Name&
getRouterNameCommandPrefix()
{
@@ -105,7 +99,6 @@
ndn::mgmt::StatusDatasetContext& context);
private:
- static const ndn::Name LOCALHOST_COMMAND_PREFIX;
ndn::Name m_routerNamePrefix;
ndn::mgmt::Dispatcher& m_localhostDispatcher;