diff options
author | Denton Liu <liu.denton+github@gmail.com> | 2016-08-09 22:27:50 +0800 |
---|---|---|
committer | Denton Liu <liu.denton+github@gmail.com> | 2016-08-11 22:15:59 +0800 |
commit | faf0b3f66905ccf24b64515d2d9ebdb10e48a89d (patch) | |
tree | b2b1809326dc5ddcdcb6cff8260865df0312ad4c /libsolidity/ast | |
parent | cab8e63a0e55e60a9e1e361140a9a031de6ea254 (diff) | |
download | dexon-solidity-faf0b3f66905ccf24b64515d2d9ebdb10e48a89d.tar.gz dexon-solidity-faf0b3f66905ccf24b64515d2d9ebdb10e48a89d.tar.zst dexon-solidity-faf0b3f66905ccf24b64515d2d9ebdb10e48a89d.zip |
Remove After from Types.cpp
Diffstat (limited to 'libsolidity/ast')
-rw-r--r-- | libsolidity/ast/Types.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libsolidity/ast/Types.cpp b/libsolidity/ast/Types.cpp index 28f7e1b7..d86a2caf 100644 --- a/libsolidity/ast/Types.cpp +++ b/libsolidity/ast/Types.cpp @@ -306,7 +306,7 @@ TypePointer IntegerType::unaryOperatorResult(Token::Value _operator) const // for non-address integers, we allow +, -, ++ and -- else if (_operator == Token::Add || _operator == Token::Sub || _operator == Token::Inc || _operator == Token::Dec || - _operator == Token::After || _operator == Token::BitNot) + _operator == Token::BitNot) return shared_from_this(); else return TypePointer(); @@ -416,8 +416,7 @@ TypePointer FixedPointType::unaryOperatorResult(Token::Value _operator) const _operator == Token::Add || _operator == Token::Sub || _operator == Token::Inc || - _operator == Token::Dec || - _operator == Token::After + _operator == Token::Dec ) return shared_from_this(); else |