mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Removing std:: from std::to_string and include for boost/lexical_cast
This commit is contained in:
@@ -529,7 +529,7 @@ int CodeTransform::variableHeightDiff(solidity::assembly::Scope::Variable const&
|
||||
if (heightDiff <= (_forSwap ? 1 : 0) || heightDiff > (_forSwap ? 17 : 16))
|
||||
{
|
||||
solUnimplemented(
|
||||
"Variable inaccessible, too deep inside stack (" + boost::lexical_cast<string>(heightDiff) + ")"
|
||||
"Variable inaccessible, too deep inside stack (" + to_string(heightDiff) + ")"
|
||||
);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ string NameDispenser::newName(string const& _prefix)
|
||||
while (name.empty() || m_usedNames.count(name))
|
||||
{
|
||||
suffix++;
|
||||
name = _prefix + "_" + std::to_string(suffix);
|
||||
name = _prefix + "_" + to_string(suffix);
|
||||
}
|
||||
m_usedNames.insert(name);
|
||||
return name;
|
||||
|
||||
Reference in New Issue
Block a user