diff options
author | Christian <c@ethdev.com> | 2014-10-20 19:02:06 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2014-10-20 19:02:06 +0800 |
commit | f0c334670dfef7c1b1d1ae610cf19ae9ad2822ca (patch) | |
tree | 7979e36c4b962bb3da82f86df52518b321bca947 /Parser.h | |
parent | 646f106a34f189b225745a079fdc8560b9230e68 (diff) | |
download | dexon-solidity-f0c334670dfef7c1b1d1ae610cf19ae9ad2822ca.tar.gz dexon-solidity-f0c334670dfef7c1b1d1ae610cf19ae9ad2822ca.tar.zst dexon-solidity-f0c334670dfef7c1b1d1ae610cf19ae9ad2822ca.zip |
Coding style cleanup: const and vecptr.
Diffstat (limited to 'Parser.h')
-rw-r--r-- | Parser.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -63,7 +63,7 @@ private: ptr<Expression> parseUnaryExpression(); ptr<Expression> parseLeftHandSideExpression(); ptr<Expression> parsePrimaryExpression(); - vecptr<Expression> parseFunctionCallArguments(); + std::vector<ptr<Expression>> parseFunctionCallArguments(); /// @} /// Helper functions @@ -73,7 +73,7 @@ private: Token::Value expectAssignmentOperator(); ptr<ASTString> expectIdentifierToken(); ptr<ASTString> getLiteralAndAdvance(); - void throwExpectationError(const std::string& _description); + void throwExpectationError(std::string const& _description); /// @} std::shared_ptr<Scanner> m_scanner; |