aboutsummaryrefslogtreecommitdiff
path: root/src/ui/control.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-03-21 22:44:31 +0800
committercrupest <crupest@outlook.com>2019-03-21 22:44:31 +0800
commitafdac77a66143375b5bebd4ff128b0fba87c5d21 (patch)
tree8c003a2d32e9411e55544114a3c2c14128909910 /src/ui/control.cpp
parentb514247f79469c15959b00ca3276879033f932ff (diff)
downloadcru-afdac77a66143375b5bebd4ff128b0fba87c5d21.tar.gz
cru-afdac77a66143375b5bebd4ff128b0fba87c5d21.tar.bz2
cru-afdac77a66143375b5bebd4ff128b0fba87c5d21.zip
Change all error handling.
Diffstat (limited to 'src/ui/control.cpp')
-rw-r--r--src/ui/control.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ui/control.cpp b/src/ui/control.cpp
index e19754dc..5c629fd6 100644
--- a/src/ui/control.cpp
+++ b/src/ui/control.cpp
@@ -1,11 +1,8 @@
#include "control.hpp"
-#include <cassert>
-
#include "window.hpp"
namespace cru::ui {
-
void Control::_SetParent(Control* parent) {
const auto old_parent = GetParent();
parent_ = parent;