../src/slic3r/GUI/Gizmos/GLGizmoSimplify.cpp:102:46: error: control reaches end of non-void function [-Werror=return-type]
src\slic3r\GUI\Gizmos\GLGizmoSimplify.cpp(103) : warning C4715: '<lambda_8434c3588ffcd21c397d2cfeb10266a5>::operator()': not all control paths return a value
This commit is contained in:
Filip Sykala 2021-10-20 11:19:15 +02:00
parent 76c0c76f5f
commit fa7b2f351f

View File

@ -100,6 +100,7 @@ void GLGizmoSimplify::add_simplify_suggestion_notification(
GLGizmoSimplify* simplify = dynamic_cast<GLGizmoSimplify*>(manager.get_current()); GLGizmoSimplify* simplify = dynamic_cast<GLGizmoSimplify*>(manager.get_current());
if (simplify == nullptr) return close_notification; if (simplify == nullptr) return close_notification;
simplify->set_center_position(); simplify->set_center_position();
return close_notification;
}; };
manager.push_simplify_suggestion_notification( manager.push_simplify_suggestion_notification(
t, objects[object_id]->id(), hypertext, open_simplify); t, objects[object_id]->id(), hypertext, open_simplify);