From 402cdd43da47ccd31fc413dc29a94fe91d770541 Mon Sep 17 00:00:00 2001 From: Slendi Date: Sun, 11 Jan 2026 17:45:10 +0200 Subject: [PATCH] Make the constructor and destructor of Application private Application is a singleton now, no need to have it be constructed outside of the(). Signed-off-by: Slendi --- src/Application.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Application.h b/src/Application.h index 2a3578b..7d0ec45 100644 --- a/src/Application.h +++ b/src/Application.h @@ -24,9 +24,6 @@ namespace Lunar { struct VulkanRenderer; struct Application { - Application(); - ~Application(); - auto run() -> void; auto binary_directory() const -> std::filesystem::path; @@ -41,6 +38,9 @@ struct Application { static auto the() -> Application &; private: + Application(); + ~Application(); + auto init_input() -> void; auto init_test_meshes() -> void; auto asset_directory() -> std::filesystem::path;