mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fix for 70113: Search for Template member declarations causes Assertion
This commit is contained in:
parent
ed8e65d800
commit
42e7ccb462
2 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
2004-08-16 Bogdan Gheorghe
|
||||||
|
Fix for 70113: Search for Template member declarations causes Assertion
|
||||||
|
|
||||||
2004-08-13 Chris Wiebe
|
2004-08-13 Chris Wiebe
|
||||||
|
|
||||||
add namespace to class wizard.
|
add namespace to class wizard.
|
||||||
|
|
|
@ -93,7 +93,7 @@ public class CSearchResultLabelProvider extends LabelProvider {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
int flags = 0;
|
||||||
ImageDescriptor imageDescriptor = null;
|
ImageDescriptor imageDescriptor = null;
|
||||||
|
|
||||||
switch( elementType ){
|
switch( elementType ){
|
||||||
|
@ -128,9 +128,15 @@ public class CSearchResultLabelProvider extends LabelProvider {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case ICElement.C_TEMPLATE_CLASS:{
|
||||||
|
imageDescriptor = CPluginImages.DESC_OBJS_CLASS;
|
||||||
|
flags |= CElementImageDescriptor.TEMPLATE;
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int flags = 0;
|
|
||||||
|
|
||||||
if (match != null){
|
if (match != null){
|
||||||
if( match.isStatic() ) flags |= CElementImageDescriptor.STATIC;
|
if( match.isStatic() ) flags |= CElementImageDescriptor.STATIC;
|
||||||
|
|
Loading…
Add table
Reference in a new issue