aboutsummaryrefslogtreecommitdiffstats
path: root/libdevcore
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-08-08 23:07:25 +0800
committerGitHub <noreply@github.com>2018-08-08 23:07:25 +0800
commit90627040545f0257b01cc24f95edea1c89cdbbf3 (patch)
tree2a22ee42a7a2f0a146bc22b47d801f5d63ddca2c /libdevcore
parentefeffa808371b64e6aa7eb5d340baf5989af2cd5 (diff)
parente902ce1aa02dc5d19cc9dd231fa538646884826d (diff)
downloaddexon-solidity-90627040545f0257b01cc24f95edea1c89cdbbf3.tar
dexon-solidity-90627040545f0257b01cc24f95edea1c89cdbbf3.tar.gz
dexon-solidity-90627040545f0257b01cc24f95edea1c89cdbbf3.tar.bz2
dexon-solidity-90627040545f0257b01cc24f95edea1c89cdbbf3.tar.lz
dexon-solidity-90627040545f0257b01cc24f95edea1c89cdbbf3.tar.xz
dexon-solidity-90627040545f0257b01cc24f95edea1c89cdbbf3.tar.zst
dexon-solidity-90627040545f0257b01cc24f95edea1c89cdbbf3.zip
Merge pull request #4753 from mattaereal/boost-to-string-patch
Replace boost:lexical_cast<std::string> for std::to_string.
Diffstat (limited to 'libdevcore')
-rw-r--r--libdevcore/Exceptions.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/libdevcore/Exceptions.cpp b/libdevcore/Exceptions.cpp
index f204dbc2..97f03f6e 100644
--- a/libdevcore/Exceptions.cpp
+++ b/libdevcore/Exceptions.cpp
@@ -17,8 +17,6 @@
#include <libdevcore/Exceptions.h>
-#include <boost/lexical_cast.hpp>
-
using namespace std;
using namespace dev;
@@ -43,7 +41,7 @@ string Exception::lineInfo() const
ret += *file;
ret += ':';
if (line)
- ret += boost::lexical_cast<string>(*line);
+ ret += to_string(*line);
return ret;
}