diff options
Diffstat (limited to 'src/Core/Log.h')
| -rw-r--r-- | src/Core/Log.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Core/Log.h b/src/Core/Log.h index ad1b959..c7b2e47 100644 --- a/src/Core/Log.h +++ b/src/Core/Log.h @@ -1,7 +1,8 @@ #pragma once +#include "Core/Memory.h" + #include <string> -#include <memory> #include <vector> #include <sstream> #include <iostream> @@ -28,7 +29,7 @@ namespace Donut static void Init(); static void Shutdown(); - static std::shared_ptr<Logger> GetLogger(); + static Ref<Logger> GetLogger(); template<typename... Args> static void Trace(const std::string_view& format, const Args&... args) @@ -135,7 +136,7 @@ namespace Donut std::ofstream m_LogFile; std::mutex m_Mutex; - static std::shared_ptr<Logger> s_Logger; + static Ref<Logger> s_Logger; }; } |
