Always build in C++11 mode
refs: #1930
Change-Id: Iedad4a814e5c7e6a5486f2f7e16c45c356131792
diff --git a/nsync/sync-std-name-info.cc b/nsync/sync-std-name-info.cc
index 2c0313d..9f0fa0d 100644
--- a/nsync/sync-std-name-info.cc
+++ b/nsync/sync-std-name-info.cc
@@ -17,14 +17,11 @@
*
* Author: Zhenkai Zhu <zhenkai@cs.ucla.edu>
* Chaoyi Bian <bcy@pku.edu.cn>
- * Alexander Afanasyev <alexander.afanasyev@ucla.edu>
+ * Alexander Afanasyev <alexander.afanasyev@ucla.edu>
*/
#include "sync-std-name-info.h"
-// using namespace std;
-using namespace boost;
-
namespace Sync {
@@ -32,9 +29,9 @@
StdNameInfo::FindOrCreate (const std::string &key)
{
// std::cout << "FindOrCreate: " << m_names.size () << "\n";
-
+
NameInfoConstPtr ret;
-
+
NameMap::iterator item = m_names.find (key);
if (item != m_names.end ())
{
@@ -47,7 +44,7 @@
weak_ptr<const NameInfo> value (ret);
std::pair<NameMap::iterator,bool> inserted =
m_names.insert (make_pair (key, value));
-
+
BOOST_ASSERT (inserted.second); // previous call has to insert value
item = inserted.first;
}