mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
annotation is a problem if it inherits from resource problemmarker, having it inherit from cproblem marker is unnecessary restriction
This commit is contained in:
parent
b45080a6f7
commit
ba16e750fa
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ public class CMarkerAnnotation extends MarkerAnnotation implements IProblemAnnot
|
|||
|
||||
public CMarkerAnnotation(IMarker marker) {
|
||||
super(marker);
|
||||
fIsProblemMarker = MarkerUtilities.isMarkerType(getMarker(), ICModelMarker.C_MODEL_PROBLEM_MARKER);
|
||||
fIsProblemMarker = MarkerUtilities.isMarkerType(getMarker(), IMarker.PROBLEM);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue