diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2014-03-27 20:30:36 +0200 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2014-03-27 20:49:51 +0100 |
commit | 749e5452fcb044fe43e4dd9e53013ae0568b5c5a (patch) | |
tree | 49fbfb87756281468da1c58397d0fb34be520862 /src/libs | |
parent | 0afa004c0b929ee722037bee26c1c45910fda8c5 (diff) | |
download | qt-creator-749e5452fcb044fe43e4dd9e53013ae0568b5c5a.tar.gz |
C++: Fix compilation with C++<11
and MSVC that disallows override on dtor
Change-Id: I8a8897fe1318dee0c6d9b4d5d9d515e4631f9318
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Diffstat (limited to 'src/libs')
-rw-r--r-- | src/libs/3rdparty/cplusplus/SafeMatcher.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/libs/3rdparty/cplusplus/SafeMatcher.h b/src/libs/3rdparty/cplusplus/SafeMatcher.h index 90c1711bc5..3d55a4c508 100644 --- a/src/libs/3rdparty/cplusplus/SafeMatcher.h +++ b/src/libs/3rdparty/cplusplus/SafeMatcher.h @@ -36,23 +36,23 @@ namespace CPlusPlus { -class SafeMatcher: public Matcher +class SafeMatcher : public Matcher { public: SafeMatcher(); - ~SafeMatcher() override; + ~SafeMatcher(); - bool match(const PointerToMemberType *type, const PointerToMemberType *otherType) override; - bool match(const PointerType *type, const PointerType *otherType) override; - bool match(const ReferenceType *type, const ReferenceType *otherType) override; - bool match(const ArrayType *type, const ArrayType *otherType) override; - bool match(const NamedType *type, const NamedType *otherType) override; + bool match(const PointerToMemberType *type, const PointerToMemberType *otherType); + bool match(const PointerType *type, const PointerType *otherType); + bool match(const ReferenceType *type, const ReferenceType *otherType); + bool match(const ArrayType *type, const ArrayType *otherType); + bool match(const NamedType *type, const NamedType *otherType); - bool match(const TemplateNameId *name, const TemplateNameId *otherName) override; - bool match(const DestructorNameId *name, const DestructorNameId *otherName) override; - bool match(const ConversionNameId *name, const ConversionNameId *otherName) override; - bool match(const QualifiedNameId *name, const QualifiedNameId *otherName) override; - bool match(const SelectorNameId *name, const SelectorNameId *otherName) override; + bool match(const TemplateNameId *name, const TemplateNameId *otherName); + bool match(const DestructorNameId *name, const DestructorNameId *otherName); + bool match(const ConversionNameId *name, const ConversionNameId *otherName); + bool match(const QualifiedNameId *name, const QualifiedNameId *otherName); + bool match(const SelectorNameId *name, const SelectorNameId *otherName); private: std::vector<const Type *> _blockedTypes; |