Make m_id const.

This commit is contained in:
chriseth
2017-01-20 15:56:56 +01:00
committed by GitHub
parent 7159944f0f
commit 07b0a0a560
+1 -1
View File
@@ -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;