diff options
Diffstat (limited to 'src/ui/render/text_render_object.cpp')
-rw-r--r-- | src/ui/render/text_render_object.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ui/render/text_render_object.cpp b/src/ui/render/text_render_object.cpp index d14a46e2..be02f8fe 100644 --- a/src/ui/render/text_render_object.cpp +++ b/src/ui/render/text_render_object.cpp @@ -6,7 +6,6 @@ #include "cru/platform/graph/util/painter.hpp" #include <algorithm> -#include <cassert> // TODO: Null Check!!! @@ -15,9 +14,9 @@ TextRenderObject::TextRenderObject( std::shared_ptr<platform::graph::IBrush> brush, std::shared_ptr<platform::graph::IFont> font, std::shared_ptr<platform::graph::IBrush> selection_brush) { - assert(brush); - assert(font); - assert(selection_brush); + Expects(brush); + Expects(font); + Expects(selection_brush); SetChildMode(ChildMode::None); |