.apk builds. untested

This commit is contained in:
anon5 authored and egp committed 2016-06-14 23:17:37 +08:00
1 parent 28c2ca8bf8
commit 58b058ab3a
15 files changed
+314 -10

No files matched your search

+7 -1
View File
@@ -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>