diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-17 08:14:15 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-22 17:51:46 +0800 |
commit | e2cfc9ee92158169b5dd058074f25d67959e9875 (patch) | |
tree | 90cb281b48f95bdcc9904ed12def22bffcb88fb7 /libsolidity/codegen/ExpressionCompiler.h | |
parent | c94b1f81730c27480cb5813a7a909511613c14c5 (diff) | |
download | dexon-solidity-e2cfc9ee92158169b5dd058074f25d67959e9875.tar.gz dexon-solidity-e2cfc9ee92158169b5dd058074f25d67959e9875.tar.zst dexon-solidity-e2cfc9ee92158169b5dd058074f25d67959e9875.zip |
Mark a lot of functions const (where possible)
Diffstat (limited to 'libsolidity/codegen/ExpressionCompiler.h')
-rw-r--r-- | libsolidity/codegen/ExpressionCompiler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/codegen/ExpressionCompiler.h b/libsolidity/codegen/ExpressionCompiler.h index 3b8cf1c6..5f6c3d64 100644 --- a/libsolidity/codegen/ExpressionCompiler.h +++ b/libsolidity/codegen/ExpressionCompiler.h @@ -119,7 +119,7 @@ private: /// @returns true if the operator applied to the given type requires a cleanup prior to the /// operation. - bool cleanupNeededForOp(Type::Category _type, Token::Value _op); + bool cleanupNeededForOp(Type::Category _type, Token::Value _op) const; /// @returns the CompilerUtils object containing the current context. CompilerUtils utils(); |