Further reduce the use of std::bind()
And also avoid deprecated ndn-cxx type aliases
Change-Id: I87e903b9671a3cf1c1b9ab30d4594d595c3c6da9
diff --git a/daemon/mgmt/manager-base.hpp b/daemon/mgmt/manager-base.hpp
index 7702271..08aca11 100644
--- a/daemon/mgmt/manager-base.hpp
+++ b/daemon/mgmt/manager-base.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2022, Regents of the University of California,
+ * Copyright (c) 2014-2023, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -64,11 +64,11 @@
protected:
/**
- * @warning if you use this constructor, you MUST override makeAuthorization()
+ * @warning If you use this constructor, you MUST override makeAuthorization().
*/
- ManagerBase(const std::string& module, Dispatcher& dispatcher);
+ ManagerBase(std::string_view module, Dispatcher& dispatcher);
- ManagerBase(const std::string& module, Dispatcher& dispatcher,
+ ManagerBase(std::string_view module, Dispatcher& dispatcher,
CommandAuthenticator& authenticator);
NFD_PUBLIC_WITH_TESTS_ELSE_PROTECTED: // registrations to the dispatcher