From 10a492de83ccf72e52dc0b0292f0571cced1b629 Mon Sep 17 00:00:00 2001 From: cxl Date: Fri, 6 Nov 2015 13:47:25 +0000 Subject: [PATCH] ide: Assist++ fixed issue with container of pointers #1294 git-svn-id: svn://ultimatepp.org/upp/trunk@9147 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/ide/Cpp.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/uppsrc/ide/Cpp.cpp b/uppsrc/ide/Cpp.cpp index dee535ada..ac9fd0ce6 100644 --- a/uppsrc/ide/Cpp.cpp +++ b/uppsrc/ide/Cpp.cpp @@ -92,6 +92,10 @@ void AssistEditor::GatherItems(const String& type, bool only_public, Index tparam; String ntp = ParseTemplatedType(ResolveTParam(type, tparam), tparam); int q = CodeBase().Find(ntp); + if(q < 0) { + ntp.Replace("*", ""); // * can be part of type as result of template substitution + q = CodeBase().Find(ntp); + } if(q >= 0) { if(types) { if(ntp.GetCount())