From f2102c3708136e460ab4b00ed882fd3e46235d8f Mon Sep 17 00:00:00 2001 From: Pcornat Date: Tue, 6 Jan 2026 23:11:21 +0100 Subject: [PATCH] basic_data.hpp is now a real interface. --- include/basic_data.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/basic_data.hpp b/include/basic_data.hpp index d9a54c9..502bc22 100644 --- a/include/basic_data.hpp +++ b/include/basic_data.hpp @@ -19,7 +19,7 @@ namespace data { virtual void window_size(int width, int height) = 0; - [[nodiscard]] virtual std::string get_name() const noexcept = 0; + [[nodiscard]] virtual const std::string &get_name() const noexcept = 0; }; }