Fix compilation with Boost 1.65.0
Change-Id: I6f56d6bf135d9c862b04cb086340301ee98ef0ed
Refs: #4256
diff --git a/examples/consumer-with-timer.cpp b/examples/consumer-with-timer.cpp
index 8c82cf6..fc43044 100644
--- a/examples/consumer-with-timer.cpp
+++ b/examples/consumer-with-timer.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
-/**
- * Copyright (c) 2013-2016 Regents of the University of California.
+/*
+ * Copyright (c) 2013-2017 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
@@ -27,9 +27,11 @@
#include "face.hpp"
#include "util/scheduler.hpp"
+#include <iostream>
+
// Enclosing code in ndn simplifies coding (can also use `using namespace ndn`)
namespace ndn {
-// Additional nested namespace could be used to prevent/limit name contentions
+// Additional nested namespaces can be used to prevent/limit name conflicts
namespace examples {
class ConsumerWithTimer : noncopyable
@@ -111,8 +113,6 @@
Scheduler m_scheduler;
};
-
-
} // namespace examples
} // namespace ndn