mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-22 00:59:08 +01:00
fixed android build
This commit is contained in:
parent
1286f1c968
commit
a8a4ef82cd
1 changed files with 5 additions and 0 deletions
5
util.h
5
util.h
|
@ -15,6 +15,11 @@ std::string to_string(T value)
|
||||||
{
|
{
|
||||||
return boost::lexical_cast<std::string>(value);
|
return boost::lexical_cast<std::string>(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inline int stoi(const std::string& str)
|
||||||
|
{
|
||||||
|
return boost::lexical_cast<int>(str);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue