Browse Source

Merge pull request #8 from chertov/master

fix boost filesystem version
pull/11/merge
orignal 11 years ago
parent
commit
e25c17b0b3
  1. 4
      NetDb.cpp

4
NetDb.cpp

@ -169,7 +169,11 @@ namespace data @@ -169,7 +169,11 @@ namespace data
{
for (boost::filesystem::directory_iterator it1 (it->path ()); it1 != end; ++it1)
{
#ifdef BOOST_VERSION > 10500
RouterInfo * r = new RouterInfo (it1->path().string().c_str ());
#else
RouterInfo * r = new RouterInfo(it1->path().c_str());
#endif
m_RouterInfos[r->GetIdentHash ()] = r;
numRouters++;
}

Loading…
Cancel
Save