build: switch to C++14
Cleanup core/common.hpp
Change-Id: I6566b0224e24716691d5896462aa7613547ed950
Refs: #3076
diff --git a/tools/chunks/catchunks/data-fetcher.hpp b/tools/chunks/catchunks/data-fetcher.hpp
index 4335ab2..5b66450 100644
--- a/tools/chunks/catchunks/data-fetcher.hpp
+++ b/tools/chunks/catchunks/data-fetcher.hpp
@@ -1,8 +1,8 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
-/**
- * Copyright (c) 2016, Regents of the University of California,
- * Colorado State University,
- * University Pierre & Marie Curie, Sorbonne University.
+/*
+ * Copyright (c) 2016-2018, Regents of the University of California,
+ * Colorado State University,
+ * University Pierre & Marie Curie, Sorbonne University.
*
* This file is part of ndn-tools (Named Data Networking Essential Tools).
* See AUTHORS.md for complete list of ndn-tools authors and contributors.
@@ -60,7 +60,7 @@
*/
static const time::milliseconds MAX_CONGESTION_BACKOFF_TIME;
- typedef function<void(const Interest& interest, const std::string& reason)> FailureCallback;
+ using FailureCallback = std::function<void(const Interest& interest, const std::string& reason)>;
/**
* @brief instantiate a DataFetcher object and start fetching data