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-autoconfig.cpp b/tools/ndn-autoconfig.cpp
index 71bca2f..87fd884 100644
--- a/tools/ndn-autoconfig.cpp
+++ b/tools/ndn-autoconfig.cpp
@@ -103,8 +103,8 @@
finalBlockId.toSegment() > currentSegment)
{
m_face.expressInterest(data.getName().getPrefix(-1).appendSegment(currentSegment+1),
- bind(&NdnAutoconfig::fetchSegments, this, _2, buffer, onDone),
- bind(&NdnAutoconfig::discoverHubStage2, this, "Timeout"));
+ ndn::bind(&NdnAutoconfig::fetchSegments, this, _2, buffer, onDone),
+ ndn::bind(&NdnAutoconfig::discoverHubStage2, this, "Timeout"));
}
else
{
@@ -122,9 +122,9 @@
interest.setMustBeFresh(true);
m_face.expressInterest(interest,
- bind(&NdnAutoconfig::fetchSegments, this, _2, buffer,
- &NdnAutoconfig::discoverHubStage1_registerHubDiscoveryPrefix),
- bind(&NdnAutoconfig::discoverHubStage2, this, "Timeout"));
+ ndn::bind(&NdnAutoconfig::fetchSegments, this, _2, buffer,
+ &NdnAutoconfig::discoverHubStage1_registerHubDiscoveryPrefix),
+ ndn::bind(&NdnAutoconfig::discoverHubStage2, this, "Timeout"));
}
void