From 9110574bb51e9e2959842a7641f598d34c3cd847 Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 13 Dec 2019 01:02:47 +0800 Subject: ... --- src/ui/controls/container.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/controls/container.cpp') diff --git a/src/ui/controls/container.cpp b/src/ui/controls/container.cpp index 7ebee4b4..2075d4ba 100644 --- a/src/ui/controls/container.cpp +++ b/src/ui/controls/container.cpp @@ -1,11 +1,11 @@ #include "cru/ui/controls/container.hpp" -#include "cru/platform/graph/graph_factory.hpp" +#include "cru/platform/graph/factory.hpp" #include "cru/ui/render/border_render_object.hpp" namespace cru::ui::controls { Container::Container() { - render_object_.reset(new render::BorderRenderObject); + render_object_ = std::make_unique(); render_object_->SetBorderEnabled(false); } -- cgit v1.2.3