Reduce usage of std::bind()
C++14 lambdas are easier to read, easier to debug,
and can usually be better optimized by the compiler.
Change-Id: I294f275904f91942a8de946fe63e77078a7608a6
diff --git a/core/common.hpp b/core/common.hpp
index fe95d62..a5a88eb 100644
--- a/core/common.hpp
+++ b/core/common.hpp
@@ -59,8 +59,6 @@
#include <vector>
#include <ndn-cxx/data.hpp>
-#include <ndn-cxx/delegation.hpp>
-#include <ndn-cxx/delegation-list.hpp>
#include <ndn-cxx/interest.hpp>
#include <ndn-cxx/name.hpp>
#include <ndn-cxx/encoding/block.hpp>
@@ -68,6 +66,7 @@
#include <ndn-cxx/net/face-uri.hpp>
#include <ndn-cxx/util/backports.hpp>
#include <ndn-cxx/util/exception.hpp>
+#include <ndn-cxx/util/optional.hpp>
#include <ndn-cxx/util/scheduler.hpp>
#include <ndn-cxx/util/signal.hpp>
#include <ndn-cxx/util/time.hpp>
@@ -94,8 +93,6 @@
using std::dynamic_pointer_cast;
using std::const_pointer_cast;
-using std::bind;
-
using namespace std::string_literals;
using ndn::optional;
@@ -104,8 +101,6 @@
using ndn::Block;
using ndn::Data;
-using ndn::Delegation;
-using ndn::DelegationList;
using ndn::FaceUri;
using ndn::Interest;
using ndn::Name;