From 601f3331edf46fde5d312579e933a02890a3f1cc Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Sun, 6 Jul 2025 23:59:06 -0400 Subject: [PATCH] As an experiment, disable copy and move of the StatusUI. --- gui/status_ui.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gui/status_ui.hpp b/gui/status_ui.hpp index 7df79c0..22e7df6 100644 --- a/gui/status_ui.hpp +++ b/gui/status_ui.hpp @@ -15,7 +15,12 @@ namespace gui { std::unordered_map $slot_to_name; ritual::UI $ritual_ui; - StatusUI(GameLevel level); + explicit StatusUI(GameLevel level); + + StatusUI(const StatusUI& other) = delete; + StatusUI(StatusUI&& other) = delete; + ~StatusUI() = default; + void select_ritual(); void update_level(GameLevel &level); void init();