diff options
author | Matías Aereal Aeón <aereal@gmail.com> | 2018-08-08 22:26:30 +0800 |
---|---|---|
committer | Matías Aereal Aeón <aereal@gmail.com> | 2018-08-08 22:26:30 +0800 |
commit | e902ce1aa02dc5d19cc9dd231fa538646884826d (patch) | |
tree | bdac717d124e725679929c722cfe2c752cc90dd9 /liblll | |
parent | 7dae58cbcc3df64e6add31020a7f44de1b28b3de (diff) | |
download | dexon-solidity-e902ce1aa02dc5d19cc9dd231fa538646884826d.tar dexon-solidity-e902ce1aa02dc5d19cc9dd231fa538646884826d.tar.gz dexon-solidity-e902ce1aa02dc5d19cc9dd231fa538646884826d.tar.bz2 dexon-solidity-e902ce1aa02dc5d19cc9dd231fa538646884826d.tar.lz dexon-solidity-e902ce1aa02dc5d19cc9dd231fa538646884826d.tar.xz dexon-solidity-e902ce1aa02dc5d19cc9dd231fa538646884826d.tar.zst dexon-solidity-e902ce1aa02dc5d19cc9dd231fa538646884826d.zip |
Removing std:: from std::to_string and include for boost/lexical_cast
Diffstat (limited to 'liblll')
-rw-r--r-- | liblll/Parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/liblll/Parser.cpp b/liblll/Parser.cpp index 506553f9..c3c33306 100644 --- a/liblll/Parser.cpp +++ b/liblll/Parser.cpp @@ -143,7 +143,7 @@ void dev::lll::parseTreeLLL(string const& _s, sp::utree& o_out) catch (qi::expectation_failure<it> const& e) { std::string fragment(e.first, e.last); - std::string loc = std::to_string(std::distance(s.cbegin(), e.first) - 1); + std::string loc = to_string(std::distance(s.cbegin(), e.first) - 1); std::string reason("Lexer failure at " + loc + ": '" + fragment + "'"); BOOST_THROW_EXCEPTION(ParserException() << errinfo_comment(reason)); } |