diff options
author | chriseth <chris@ethereum.org> | 2017-01-20 22:56:56 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-20 22:56:56 +0800 |
commit | 07b0a0a56028c5ea9bf3dc4fc3b7fda6e4d97ec9 (patch) | |
tree | cfcee93c3108536abee04853b99f888e1950de91 /libsolidity/ast/AST.h | |
parent | 7159944f0fa5d9eb3205cd8a3e1d6ec4f133a4ad (diff) | |
download | dexon-solidity-07b0a0a56028c5ea9bf3dc4fc3b7fda6e4d97ec9.tar.gz dexon-solidity-07b0a0a56028c5ea9bf3dc4fc3b7fda6e4d97ec9.tar.zst dexon-solidity-07b0a0a56028c5ea9bf3dc4fc3b7fda6e4d97ec9.zip |
Make m_id const.
Diffstat (limited to 'libsolidity/ast/AST.h')
-rw-r--r-- | libsolidity/ast/AST.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/ast/AST.h b/libsolidity/ast/AST.h index 116275c3..c7c37445 100644 --- a/libsolidity/ast/AST.h +++ b/libsolidity/ast/AST.h @@ -99,7 +99,7 @@ public: ///@} protected: - size_t m_id = 0; + size_t const m_id = 0; /// Annotation - is specialised in derived classes, is created upon request (because of polymorphism). mutable ASTAnnotation* m_annotation = nullptr; |