build: switch to C++14
Cleanup core/common.hpp
Change-Id: I6566b0224e24716691d5896462aa7613547ed950
Refs: #3076
diff --git a/core/common.hpp b/core/common.hpp
index f74c272..8e8c1db 100644
--- a/core/common.hpp
+++ b/core/common.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
-/**
- * Copyright (c) 2014-2017, Regents of the University of California,
+/*
+ * Copyright (c) 2014-2018, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -38,13 +38,15 @@
#define PROTECTED_WITH_TESTS_ELSE_PRIVATE private
#endif
-#include <cinttypes>
#include <cstddef>
+#include <cstdint>
+#include <functional>
#include <iostream>
-#include <list>
+#include <limits>
#include <map>
-#include <set>
+#include <memory>
#include <stdexcept>
+#include <string>
#include <utility>
#include <vector>
@@ -55,20 +57,26 @@
#include <boost/program_options/options_description.hpp>
#include <boost/program_options/variables_map.hpp>
#include <boost/program_options/parsers.hpp>
+#include <boost/throw_exception.hpp>
#include <ndn-cxx/data.hpp>
#include <ndn-cxx/face.hpp>
#include <ndn-cxx/interest.hpp>
+#include <ndn-cxx/name.hpp>
#include <ndn-cxx/security/key-chain.hpp>
-#include <ndn-cxx/security/signing-helpers.hpp>
-#include <ndn-cxx/security/signing-info.hpp>
#include <ndn-cxx/util/backports.hpp>
#include <ndn-cxx/util/scheduler.hpp>
#include <ndn-cxx/util/scheduler-scoped-event-id.hpp>
#include <ndn-cxx/util/signal.hpp>
+#include <ndn-cxx/util/time.hpp>
namespace ndn {
+using std::shared_ptr;
+using std::unique_ptr;
+using std::make_shared;
+using std::make_unique;
+
using std::size_t;
using boost::noncopyable;