summaryrefslogtreecommitdiff
path: root/src/plugins/clangcodemodel
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@theqtcompany.com>2016-02-02 10:58:20 +0100
committerChristian Stenger <christian.stenger@theqtcompany.com>2016-02-02 14:40:14 +0000
commit26c7afdfb7590a8e17996074e2dfa9ce909b5196 (patch)
treec301428bc8f9a8022f75bac483d2f9ee57195c03 /src/plugins/clangcodemodel
parentde28ab0a6f01ce3fc9a5b05754bc379587171887 (diff)
downloadqt-creator-26c7afdfb7590a8e17996074e2dfa9ce909b5196.tar.gz
TextEditor: Fix compile with gcc 4.7.3
Change-Id: I59b401c4d7a75398fddc8f6e3a0671fc49f0cb47 Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Diffstat (limited to 'src/plugins/clangcodemodel')
-rw-r--r--src/plugins/clangcodemodel/clangassistproposalitem.h1
-rw-r--r--src/plugins/clangcodemodel/clangpreprocessorassistproposalitem.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/clangcodemodel/clangassistproposalitem.h b/src/plugins/clangcodemodel/clangassistproposalitem.h
index 8a132b1c1d..5e7ec8fefa 100644
--- a/src/plugins/clangcodemodel/clangassistproposalitem.h
+++ b/src/plugins/clangcodemodel/clangassistproposalitem.h
@@ -39,6 +39,7 @@ class ClangAssistProposalItem final : public TextEditor::AssistProposalItemInter
{
friend bool operator<(const ClangAssistProposalItem &first, const ClangAssistProposalItem &second);
public:
+ ~ClangAssistProposalItem() Q_DECL_NOEXCEPT {}
bool prematurelyApplies(const QChar &typedCharacter) const final;
bool implicitlyApplies() const final;
void apply(TextEditor::TextDocumentManipulatorInterface &manipulator, int basePosition) const final;
diff --git a/src/plugins/clangcodemodel/clangpreprocessorassistproposalitem.h b/src/plugins/clangcodemodel/clangpreprocessorassistproposalitem.h
index 324ccd4193..771cb0aa3d 100644
--- a/src/plugins/clangcodemodel/clangpreprocessorassistproposalitem.h
+++ b/src/plugins/clangcodemodel/clangpreprocessorassistproposalitem.h
@@ -36,6 +36,7 @@ namespace ClangCodeModel {
class ClangPreprocessorAssistProposalItem final : public TextEditor::AssistProposalItemInterface
{
public:
+ ~ClangPreprocessorAssistProposalItem() Q_DECL_NOEXCEPT {}
bool prematurelyApplies(const QChar &typedChar) const final;
virtual bool implicitlyApplies() const final;
void apply(TextEditor::TextDocumentManipulatorInterface &manipulator,