From e38ea3de29ede0e45aab8e595da5e8e3782a396d Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 2 Apr 2020 20:51:19 +0800 Subject: ... --- src/ui/window.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ui/window.cpp') diff --git a/src/ui/window.cpp b/src/ui/window.cpp index dbe90478..a3279ba7 100644 --- a/src/ui/window.cpp +++ b/src/ui/window.cpp @@ -6,7 +6,6 @@ #include "cru/ui/render/window_render_object.hpp" #include "routed_event_dispatch.hpp" -#include #include namespace cru::ui { @@ -151,7 +150,7 @@ platform::native::INativeWindow* Window::ResolveNativeWindow() { } bool Window::RequestFocusFor(Control* control) { - assert(control != nullptr); // The control to request focus can't be null. + Expects(control != nullptr); // The control to request focus can't be null. // You can set it as the window. if (focus_control_ == control) return true; -- cgit v1.2.3