Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed Mar 27, 2024
1 parent d7aa8a7 commit f607205
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/ruisapp/glue/linux/glue_wayland.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,12 @@ struct window_wrapper : public utki::destructable {
registry_scope_exit.release();
}

registry_wrapper(const registry_wrapper&) = delete;
registry_wrapper& operator=(const registry_wrapper&) = delete;

registry_wrapper(registry_wrapper&&) = delete;
registry_wrapper& operator=(registry_wrapper&&) = delete;

~registry_wrapper()
{
this->destroy();
Expand Down Expand Up @@ -189,6 +195,12 @@ struct window_wrapper : public utki::destructable {
}
}

surface_wrapper(const surface_wrapper&) = delete;
surface_wrapper& operator=(const surface_wrapper&) = delete;

surface_wrapper(surface_wrapper&&) = delete;
surface_wrapper& operator=(surface_wrapper&&) = delete;

~surface_wrapper()
{
wl_surface_destroy(this->sur);
Expand Down Expand Up @@ -226,6 +238,12 @@ struct window_wrapper : public utki::destructable {
xdg_surface_add_listener(this->xdg_sur, &listener, nullptr);
}

xdg_surface_wrapper(const xdg_surface_wrapper&) = delete;
xdg_surface_wrapper& operator=(const xdg_surface_wrapper&) = delete;

xdg_surface_wrapper(xdg_surface_wrapper&&) = delete;
xdg_surface_wrapper& operator=(xdg_surface_wrapper&&) = delete;

~xdg_surface_wrapper()
{
xdg_surface_destroy(this->xdg_sur);
Expand Down Expand Up @@ -283,6 +301,12 @@ struct window_wrapper : public utki::destructable {
surface.commit();
}

toplevel_wrapper(const toplevel_wrapper&) = delete;
toplevel_wrapper& operator=(const toplevel_wrapper&) = delete;

toplevel_wrapper(toplevel_wrapper&&) = delete;
toplevel_wrapper& operator=(toplevel_wrapper&&) = delete;

~toplevel_wrapper()
{
xdg_toplevel_destroy(this->toplev);
Expand Down

0 comments on commit f607205

Please sign in to comment.