diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-12-01 11:33:13 +0100 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-12-01 11:46:36 +0100 |
commit | fade61a8a9397f44d31c5ab4ede57e5259de8880 (patch) | |
tree | 539129b8b2594cad57752f3883b4c766f1299ef6 /src/shared/cplusplus/Token.h | |
parent | b792b934e48c741b804f19378b6028f32c1c04eb (diff) | |
download | qt-creator-fade61a8a9397f44d31c5ab4ede57e5259de8880.tar.gz |
Use const literals.
Diffstat (limited to 'src/shared/cplusplus/Token.h')
-rw-r--r-- | src/shared/cplusplus/Token.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/shared/cplusplus/Token.h b/src/shared/cplusplus/Token.h index acbe3927ba..cd1cf577c6 100644 --- a/src/shared/cplusplus/Token.h +++ b/src/shared/cplusplus/Token.h @@ -335,10 +335,10 @@ public: union { void *ptr; - Literal *literal; - NumericLiteral *number; - StringLiteral *string; - Identifier *identifier; + const Literal *literal; + const NumericLiteral *number; + const StringLiteral *string; + const Identifier *identifier; unsigned close_brace; unsigned lineno; }; |