mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Make m_id const.
This commit is contained in:
parent
7159944f0f
commit
07b0a0a560
@ -99,7 +99,7 @@ public:
|
|||||||
///@}
|
///@}
|
||||||
|
|
||||||
protected:
|
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).
|
/// Annotation - is specialised in derived classes, is created upon request (because of polymorphism).
|
||||||
mutable ASTAnnotation* m_annotation = nullptr;
|
mutable ASTAnnotation* m_annotation = nullptr;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user