[client,SDL] delete unused copy & move constructors

This commit is contained in:
akallabeth
2024-09-03 10:20:16 +02:00
parent 96bdd58226
commit cbae4155fb
2 changed files with 4 additions and 0 deletions

View File

@@ -332,6 +332,8 @@ class SdlEventUpdateTriggerGuard
{
_sdl->update_complete.set();
}
SdlEventUpdateTriggerGuard(const SdlEventUpdateTriggerGuard&) = delete;
SdlEventUpdateTriggerGuard(SdlEventUpdateTriggerGuard&&) = delete;
};
static bool sdl_draw_to_window_rect(SdlContext* sdl, SdlWindow& window, SDL_Surface* surface,

View File

@@ -333,6 +333,8 @@ class SdlEventUpdateTriggerGuard
{
_sdl->update_complete.set();
}
SdlEventUpdateTriggerGuard(const SdlEventUpdateTriggerGuard&) = delete;
SdlEventUpdateTriggerGuard(SdlEventUpdateTriggerGuard&&) = delete;
};
static bool sdl_draw_to_window_rect(SdlContext* sdl, SdlWindow& window, SDL_Surface* surface,