Bladeren bron

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

Brandon Thetford 1 jaar geleden
bovenliggende
commit
f281d4ff33
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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))
         {