build: Always build in C++11 mode.
This commit also includes update of websocketpp submodule, as the
previous version has compilation problems on OSX with XCode 6.1
Change-Id: I8c9670d0026d840838d77e610e50679ee5ede7a5
Refs: #1930, #2082
diff --git a/tools/ndn-tlv-poke.cpp b/tools/ndn-tlv-poke.cpp
index 3f5a3b6..31ec561 100644
--- a/tools/ndn-tlv-poke.cpp
+++ b/tools/ndn-tlv-poke.cpp
@@ -27,18 +27,19 @@
#include "version.hpp"
-#include <boost/utility.hpp>
+#include <boost/noncopyable.hpp>
#include <ndn-cxx/face.hpp>
#include <ndn-cxx/security/key-chain.hpp>
namespace ndntlvpoke {
+using ndn::_1;
+using ndn::_2;
+
class NdnTlvPoke : boost::noncopyable
{
-
public:
-
explicit
NdnTlvPoke(char* programName)
: m_programName(programName)
@@ -186,11 +187,9 @@
else
{
m_face.setInterestFilter(m_prefixName,
- ndn::bind(&NdnTlvPoke::onInterest,
- this, _1, _2, dataPacket),
+ bind(&NdnTlvPoke::onInterest, this, _1, _2, dataPacket),
ndn::RegisterPrefixSuccessCallback(),
- ndn::bind(&NdnTlvPoke::onRegisterFailed,
- this, _1, _2));
+ bind(&NdnTlvPoke::onRegisterFailed, this, _1, _2));
}
if (m_timeout < ndn::time::milliseconds::zero())
m_face.processEvents(getDefaultTimeout());