moved std::to_string to util.h from android

This commit is contained in:
orignal 2016-06-14 11:55:44 -04:00
parent 07cc547bab
commit a5be4c9d0e
7 changed files with 19 additions and 54 deletions

View file

@ -25,12 +25,6 @@
#include "version.h"
#include "I2PControl.h"
#ifdef ANDROID
# include "to_string.h"
#else
# define to_string(x) std::to_string(x)
#endif
namespace i2p
{
namespace client
@ -321,7 +315,7 @@ namespace client
}
InsertParam (results, "API", api);
results << ",";
std::string token = to_string(i2p::util::GetSecondsSinceEpoch ());
std::string token = std::to_string(i2p::util::GetSecondsSinceEpoch ());
m_Tokens.insert (token);
InsertParam (results, "Token", token);
}