diff --git a/src/ruis/widget/group/tiling_area.cpp b/src/ruis/widget/group/tiling_area.cpp index e96b6bef9..2859589ed 100644 --- a/src/ruis/widget/group/tiling_area.cpp +++ b/src/ruis/widget/group/tiling_area.cpp @@ -323,12 +323,7 @@ void tiling_area::on_lay_out() for (auto i = std::next(this->begin()); i != this->end(); ++i) { auto index = size_t(std::distance(this->begin(), i)) - 1; - utki::assert( - [this, index]() -> bool { - return index < this->get_container().size(); - }, - SL - ); + utki::assert(index < this->get_container().size(), SL); auto& dragger = dynamic_cast(i->get());