mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-30 12:47:48 +02:00
* replace deprecated boost::to_lower with boost::algorithm::to_lower()
This commit is contained in:
parent
d010d3575d
commit
f2269b75f5
3 changed files with 5 additions and 3 deletions
|
@ -16,6 +16,8 @@
|
|||
#include "HTTP.h"
|
||||
#include "util.h"
|
||||
|
||||
#include <boost/algorithm/string.hpp>
|
||||
|
||||
using namespace i2p::data;
|
||||
|
||||
namespace i2p
|
||||
|
@ -955,7 +957,7 @@ namespace transport
|
|||
m_TrustedFamilies.clear();
|
||||
for (auto fam : families)
|
||||
{
|
||||
boost::to_lower (fam);
|
||||
boost::algorithm::to_lower (fam);
|
||||
auto id = i2p::data::netdb.GetFamilies ().GetFamilyID (fam);
|
||||
if (id)
|
||||
m_TrustedFamilies.push_back (id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue