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/Name.h | |
parent | b792b934e48c741b804f19378b6028f32c1c04eb (diff) | |
download | qt-creator-fade61a8a9397f44d31c5ab4ede57e5259de8880.tar.gz |
Use const literals.
Diffstat (limited to 'src/shared/cplusplus/Name.h')
-rw-r--r-- | src/shared/cplusplus/Name.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/shared/cplusplus/Name.h b/src/shared/cplusplus/Name.h index 45dfef86e6..8559b6ea2e 100644 --- a/src/shared/cplusplus/Name.h +++ b/src/shared/cplusplus/Name.h @@ -56,14 +56,11 @@ namespace CPlusPlus { class CPLUSPLUS_EXPORT Name { - Name(const Name &other); - void operator =(const Name &other); - public: Name(); virtual ~Name(); - virtual Identifier *identifier() const = 0; + virtual const Identifier *identifier() const = 0; bool isNameId() const; bool isTemplateNameId() const; |