mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
moved std::to_string to util.h from android
This commit is contained in:
parent
07cc547bab
commit
a5be4c9d0e
7 changed files with 19 additions and 54 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue