From 0d8b874c0048ca088bb9e353a5f7c62e1f8cd0e8 Mon Sep 17 00:00:00 2001 From: hachem Date: Thu, 14 Aug 2025 00:42:05 +0200 Subject: feat: custom memory managers and fix includes --- src/core/log.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/core/log.h') diff --git a/src/core/log.h b/src/core/log.h index 77324f5..1477226 100644 --- a/src/core/log.h +++ b/src/core/log.h @@ -1,7 +1,8 @@ #pragma once +#include "core/memory.h" + #include -#include #include #include #include @@ -28,7 +29,7 @@ namespace Donut static void init(); static void shutdown(); - static std::shared_ptr get_logger(); + static Ref get_logger(); template static void trace(const std::string_view& format, const Args&... args) @@ -135,7 +136,7 @@ namespace Donut std::ofstream m_log_file; std::mutex m_mutex; - static std::shared_ptr s_logger; + static Ref s_logger; }; } -- cgit v1.3