Get rid of the component in the C++ ComponentWindow::run

This commit is contained in:
Olivier Goffart 2020-11-19 13:42:52 +01:00
parent 01b8605259
commit 3fce3e6f1b
3 changed files with 3 additions and 3 deletions

View file

@ -84,8 +84,7 @@ public:
ComponentWindow(ComponentWindow &&) = delete;
ComponentWindow &operator=(const ComponentWindow &) = delete;
template<typename Component>
void run(const Component *c) const
void run() const
{
sixtyfps_component_window_run(&inner);
}