From 887627fd284440b346818d17b139d3bd876ba4e6 Mon Sep 17 00:00:00 2001 From: Lu Guanqun <guanqun.lu@gmail.com> Date: Fri, 6 Feb 2015 15:19:22 +0800 Subject: change typedef to using according to preferred coding style --- Parser.cpp | 4 ++-- 1 file 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; -- cgit v1.2.3