mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Explicitly use std::next to avoid boost version.
This commit is contained in:
parent
b4e33ec25c
commit
7d9692c31d
@ -63,7 +63,7 @@ std::string joinHumanReadable
|
|||||||
|
|
||||||
for (;it != itEnd; ++it)
|
for (;it != itEnd; ++it)
|
||||||
{
|
{
|
||||||
if ((next(it) == itEnd) && !_lastSeparator.empty())
|
if ((std::next(it) == itEnd) && !_lastSeparator.empty())
|
||||||
result += _lastSeparator; // last iteration
|
result += _lastSeparator; // last iteration
|
||||||
else
|
else
|
||||||
result += _separator;
|
result += _separator;
|
||||||
|
@ -330,7 +330,7 @@ void dev::solidity::eachInstruction(
|
|||||||
u256 data;
|
u256 data;
|
||||||
|
|
||||||
// fill the data with the additional data bytes from the instruction stream
|
// fill the data with the additional data bytes from the instruction stream
|
||||||
while (additional > 0 && next(it) < _mem.end())
|
while (additional > 0 && std::next(it) < _mem.end())
|
||||||
{
|
{
|
||||||
data <<= 8;
|
data <<= 8;
|
||||||
data |= *++it;
|
data |= *++it;
|
||||||
|
Loading…
Reference in New Issue
Block a user