From 7d39ee93a6d354e727c7534a18663f1d00d46b0f Mon Sep 17 00:00:00 2001 From: hachem Date: Thu, 20 Aug 2026 01:57:44 +0200 Subject: refactor: trailing return types in core --- src/core/theme_manager.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/core/theme_manager.h') diff --git a/src/core/theme_manager.h b/src/core/theme_manager.h index 7c1a295..d067906 100644 --- a/src/core/theme_manager.h +++ b/src/core/theme_manager.h @@ -14,13 +14,13 @@ namespace Donut class ThemeManager { public: - static void set_theme(Theme theme); - static Theme get_current_theme() { return s_current_theme; } - - static void apply_dark_theme(); - static void apply_light_theme(); - static void apply_blue_theme(); - + static auto set_theme(Theme theme) -> void; + static auto get_current_theme() -> Theme { return s_current_theme; } + + static auto apply_dark_theme() -> void; + static auto apply_light_theme() -> void; + static auto apply_blue_theme() -> void; + private: static Theme s_current_theme; }; -- cgit v1.3