aboutsummaryrefslogtreecommitdiffstats
path: root/libdevcore
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-08-09 07:12:39 +0800
committerchriseth <chris@ethereum.org>2018-08-09 07:12:55 +0800
commit7d9692c31d411a66ea194480bf3963cb97e2c257 (patch)
treec2cabf6e1ca0c17813ecc7bea97595075f913042 /libdevcore
parentb4e33ec25ceb35b53876ad6af58148079dcbeeb7 (diff)
downloaddexon-solidity-7d9692c31d411a66ea194480bf3963cb97e2c257.tar.gz
dexon-solidity-7d9692c31d411a66ea194480bf3963cb97e2c257.tar.zst
dexon-solidity-7d9692c31d411a66ea194480bf3963cb97e2c257.zip
Explicitly use std::next to avoid boost version.
Diffstat (limited to 'libdevcore')
-rw-r--r--libdevcore/StringUtils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdevcore/StringUtils.h b/libdevcore/StringUtils.h
index 4fb5a748..94c6e3c5 100644
--- a/libdevcore/StringUtils.h
+++ b/libdevcore/StringUtils.h
@@ -63,7 +63,7 @@ std::string joinHumanReadable
for (;it != itEnd; ++it)
{
- if ((next(it) == itEnd) && !_lastSeparator.empty())
+ if ((std::next(it) == itEnd) && !_lastSeparator.empty())
result += _lastSeparator; // last iteration
else
result += _separator;