aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLu Guanqun <guanqun.lu@gmail.com>2015-02-06 15:19:22 +0800
committerLu Guanqun <guanqun.lu@gmail.com>2015-02-07 17:20:57 +0800
commit887627fd284440b346818d17b139d3bd876ba4e6 (patch)
treeeca78d938e86b60ffce85ac13f34fe047685a35c
parent529847d8e1e91f3c764b5adddc5d832a2d598d0c (diff)
downloaddexon-solidity-887627fd284440b346818d17b139d3bd876ba4e6.tar.gz
dexon-solidity-887627fd284440b346818d17b139d3bd876ba4e6.tar.zst
dexon-solidity-887627fd284440b346818d17b139d3bd876ba4e6.zip
change typedef to using according to preferred coding style
-rw-r--r--Parser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Parser.cpp b/Parser.cpp
index e94e88e1..df30f389 100644
--- a/Parser.cpp
+++ b/Parser.cpp
@@ -89,8 +89,8 @@ void dev::eth::parseTreeLLL(string const& _s, sp::utree& o_out)
using qi::standard::space;
using qi::standard::space_type;
using dev::eth::parseTreeLLL_::tagNode;
- typedef sp::basic_string<std::string, sp::utree_type::symbol_type> symbol_type;
- typedef string::const_iterator it;
+ using symbol_type = sp::basic_string<std::string, sp::utree_type::symbol_type>;
+ using it = string::const_iterator;
static const u256 ether = u256(1000000000) * 1000000000;
static const u256 finney = u256(1000000000) * 1000000;