Sfoglia il codice sorgente

Avoid virtual dispatch by returning the most-derived concrete type available

Brandon Thetford 1 anno fa
parent
commit
f281d4ff33
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Terminal.Gui/Application.cs

+ 1 - 1
Terminal.Gui/Application.cs

@@ -1126,7 +1126,7 @@ public static partial class Application
     }
 
     #nullable enable
-    private static View? FindDeepestTop (Toplevel start, int x, int y)
+    private static Toplevel? FindDeepestTop (Toplevel start, int x, int y)
     {
         if (!start.Frame.Contains (x, y))
         {