summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpptoolstestcase.h
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2018-02-14 14:32:51 +0100
committerDavid Schulz <david.schulz@qt.io>2018-02-27 12:32:36 +0000
commita4b5fc00a88dbb852b9fddc4ee125ba27c6bacf0 (patch)
tree071a96db934a0f2d433f058fd8fdd46e346ca960 /src/plugins/cpptools/cpptoolstestcase.h
parent4598a7898023735c79b5b8340861ce14991c6b32 (diff)
downloadqt-creator-a4b5fc00a88dbb852b9fddc4ee125ba27c6bacf0.tar.gz
CodeAssist: use shared pointer to pass around proposal models
Task-number: QTCREATORBUG-17752 Change-Id: Ia41f169b86ead209830e6f15764062389ced2b67 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cpptoolstestcase.h')
-rw-r--r--src/plugins/cpptools/cpptoolstestcase.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/plugins/cpptools/cpptoolstestcase.h b/src/plugins/cpptools/cpptoolstestcase.h
index 6a00aceb22..2b1818e827 100644
--- a/src/plugins/cpptools/cpptoolstestcase.h
+++ b/src/plugins/cpptools/cpptoolstestcase.h
@@ -172,16 +172,5 @@ private:
bool m_writtenSuccessfully;
};
-// Normally the proposal is deleted by the ProcessorRunner or the
-// GenericProposalWidget, but in tests we usually don't make use of them.
-class CPPTOOLS_EXPORT IAssistProposalScopedPointer
-{
-public:
- IAssistProposalScopedPointer(TextEditor::IAssistProposal *proposal);
- ~IAssistProposalScopedPointer();
-
- QScopedPointer<TextEditor::IAssistProposal> d;
-};
-
} // namespace Tests
} // namespace CppTools