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 <slendi@socopon.com>
This commit is contained in:
2026-01-11 17:45:10 +02:00
parent fc66ce2fd3
commit 402cdd43da

View File

@@ -24,9 +24,6 @@ namespace Lunar {
struct VulkanRenderer; struct VulkanRenderer;
struct Application { struct Application {
Application();
~Application();
auto run() -> void; auto run() -> void;
auto binary_directory() const -> std::filesystem::path; auto binary_directory() const -> std::filesystem::path;
@@ -41,6 +38,9 @@ struct Application {
static auto the() -> Application &; static auto the() -> Application &;
private: private:
Application();
~Application();
auto init_input() -> void; auto init_input() -> void;
auto init_test_meshes() -> void; auto init_test_meshes() -> void;
auto asset_directory() -> std::filesystem::path; auto asset_directory() -> std::filesystem::path;