mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-23 06:22:30 +00:00
.apk builds. untested
This commit is contained in:
1 parent
28c2ca8bf8
commit
58b058ab3a
15 files changed
+314
-10
No files matched your search
+7
-1
@@ -8,6 +8,12 @@
|
||||
#include "Identity.h"
|
||||
#include "ClientContext.h"
|
||||
|
||||
#ifdef ANDROID
|
||||
# include "to_string.h"
|
||||
#else
|
||||
# define to_string(x) std::to_string(x)
|
||||
#endif
|
||||
|
||||
namespace i2p
|
||||
{
|
||||
namespace client
|
||||
@@ -292,7 +298,7 @@ namespace client
|
||||
template<typename Section, typename Type>
|
||||
std::string ClientContext::GetI2CPOption (const Section& section, const std::string& name, const Type& value) const
|
||||
{
|
||||
return section.second.get (boost::property_tree::ptree::path_type (name, '/'), std::to_string (value));
|
||||
return section.second.get (boost::property_tree::ptree::path_type (name, '/'), to_string (value));
|
||||
}
|
||||
|
||||
template<typename Section>
|
||||
|
||||
Reference in new issue
Block a user