Skip to content

Commit

Permalink
Merge pull request #8 from chertov/master
Browse files Browse the repository at this point in the history
fix boost filesystem version
  • Loading branch information
orignal committed Jan 9, 2014
2 parents 6bbf34a + 22f51d4 commit e25c17b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions NetDb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
}
Expand Down

0 comments on commit e25c17b

Please sign in to comment.