fixing windows compilation issue

This commit is contained in:
Kbz-8
2024-01-10 18:37:14 +01:00
parent 91661fd206
commit 0f16255240
2 changed files with 7 additions and 5 deletions

View File

@@ -6,7 +6,7 @@
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/10 13:35:45 by maldavid #+# #+# */
/* Updated: 2024/01/10 18:16:47 by maldavid ### ########.fr */
/* Updated: 2024/01/10 18:36:46 by maldavid ### ########.fr */
/* */
/* ************************************************************************** */
@@ -37,7 +37,7 @@ namespace mlx
class Profiler : public Singleton<Profiler>
{
friend class Singleton;
friend class Singleton<Profiler>;
public:
Profiler(const Profiler&) = delete;

View File

@@ -6,7 +6,7 @@
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/08 19:16:32 by maldavid #+# #+# */
/* Updated: 2024/01/07 01:31:37 by maldavid ### ########.fr */
/* Updated: 2024/01/10 18:36:58 by maldavid ### ########.fr */
/* */
/* ************************************************************************** */
@@ -48,9 +48,9 @@ namespace mlx
class Render_Core : public Singleton<Render_Core>
{
public:
Render_Core() = default;
friend class Singleton<Render_Core>;
public:
void init();
void destroy();
@@ -62,6 +62,8 @@ namespace mlx
inline CmdBuffer& getSingleTimeCmdBuffer() noexcept { return _cmd_manager.getCmdBuffer(); }
inline SingleTimeCmdManager& getSingleTimeCmdManager() noexcept { return _cmd_manager; }
private:
Render_Core() = default;
~Render_Core() = default;
private: