mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-02 22:55:26 +02:00
launchbar: fixed compilation error with neon M5
NOTE: there is nasty fix in ViewerComparator that now requires comparator to be working on strings, we don't use it this way this has to be fixed at some point Change-Id: I0199a830546cf1e9bad5c45bec67e17daf42d558
This commit is contained in:
parent
3a66908e57
commit
da4bfe781f
1 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ public class LaunchBarListViewer extends StructuredViewer {
|
|||
private String historyPref;
|
||||
|
||||
private static class LaunchBarListViewerComparator extends ViewerComparator {
|
||||
public LaunchBarListViewerComparator(Comparator<?> comp) {
|
||||
public LaunchBarListViewerComparator(Comparator comp) {
|
||||
super(comp);
|
||||
}
|
||||
|
||||
|
@ -83,7 +83,7 @@ public class LaunchBarListViewer extends StructuredViewer {
|
|||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public int compare(Viewer viewer, Object e1, Object e2) {
|
||||
return getComparator().compare(e1, e2);
|
||||
return ((Comparator)getComparator()).compare(e1, e2);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue