aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/inlineasm/AsmParser.cpp
diff options
context:
space:
mode:
authorMatías Aereal Aeón <aereal@gmail.com>2018-08-08 14:55:43 +0800
committerMatías Aereal Aeón <aereal@gmail.com>2018-08-08 14:55:43 +0800
commit7dae58cbcc3df64e6add31020a7f44de1b28b3de (patch)
treec95359c6125d34f5061ac7851ac7d131bc28a3fa /libsolidity/inlineasm/AsmParser.cpp
parent009a55c82d22f08fd207739d7b8aeff215fb7c03 (diff)
downloaddexon-solidity-7dae58cbcc3df64e6add31020a7f44de1b28b3de.tar.gz
dexon-solidity-7dae58cbcc3df64e6add31020a7f44de1b28b3de.tar.zst
dexon-solidity-7dae58cbcc3df64e6add31020a7f44de1b28b3de.zip
Replace boost:lexical_cast<std::string> for std::to_string.
Diffstat (limited to 'libsolidity/inlineasm/AsmParser.cpp')
-rw-r--r--libsolidity/inlineasm/AsmParser.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libsolidity/inlineasm/AsmParser.cpp b/libsolidity/inlineasm/AsmParser.cpp
index cd429a98..06f9a587 100644
--- a/libsolidity/inlineasm/AsmParser.cpp
+++ b/libsolidity/inlineasm/AsmParser.cpp
@@ -279,7 +279,7 @@ assembly::Expression Parser::parseExpression()
"Expected '(' (instruction \"" +
instructionNames().at(instr.instruction) +
"\" expects " +
- boost::lexical_cast<string>(args) +
+ std::to_string(args) +
" arguments)"
));
}
@@ -502,7 +502,7 @@ assembly::Expression Parser::parseCall(Parser::ElementaryOperation&& _initialOp)
"Expected expression (instruction \"" +
instructionNames().at(instr) +
"\" expects " +
- boost::lexical_cast<string>(args) +
+ std::to_string(args) +
" arguments)"
));
@@ -514,7 +514,7 @@ assembly::Expression Parser::parseCall(Parser::ElementaryOperation&& _initialOp)
"Expected ',' (instruction \"" +
instructionNames().at(instr) +
"\" expects " +
- boost::lexical_cast<string>(args) +
+ std::to_string(args) +
" arguments)"
));
else
@@ -527,7 +527,7 @@ assembly::Expression Parser::parseCall(Parser::ElementaryOperation&& _initialOp)
"Expected ')' (instruction \"" +
instructionNames().at(instr) +
"\" expects " +
- boost::lexical_cast<string>(args) +
+ std::to_string(args) +
" arguments)"
));
expectToken(Token::RParen);