Replace boost::lexical_cast with beast::lexicalCast

This commit is contained in:
Vinnie Falco
2013-07-28 19:43:16 -07:00
parent 9486bec0cd
commit ead7b07fd5
32 changed files with 116 additions and 157 deletions

View File

@@ -58,10 +58,10 @@ POWResult ProofOfWorkFactory::checkProof (const std::string& token, uint256 cons
challenge.SetHex (fields[0]);
target.SetHex (fields[1]);
time_t t = lexical_cast_s<time_t> (fields[3]);
time_t t = lexicalCast <time_t> (fields[3]);
time_t now = time (NULL);
int iterations = lexical_cast_s<int> (fields[2]);
int iterations = lexicalCast <int> (fields[2]);
{
boost::mutex::scoped_lock sl (mLock);