From 470f90fbdd9ba867652895ef8458a0370d390c8f Mon Sep 17 00:00:00 2001 From: Riyyi Date: Thu, 22 Sep 2022 10:37:26 +0200 Subject: [PATCH] Engine: Switch inferno core.h => ruc core.h --- src/inferno/core.h | 13 ------------- src/inferno/event/event.h | 2 +- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/src/inferno/core.h b/src/inferno/core.h index 05d5380..42ad1da 100644 --- a/src/inferno/core.h +++ b/src/inferno/core.h @@ -2,20 +2,7 @@ #include // std::bind, std::placeholders -#define BIT(x) (1 << x) - // @Todo figure out lambda's and replace std::bind // https://github.com/TheCherno/Hazel/pull/277 // variadic args in lambdas were added in C++17 #define NF_BIND_EVENT(f) std::bind(&f, this, std::placeholders::_1) - -// Compiler -#if defined(__clang__) - #define GCC -#elif defined(__INTEL_COMPILER) // Supports some GCC extensions - #define GCC -#elif defined(__GNUG__) || (defined(__GNUC__) && defined(__cplusplus)) - #define GCC -#elif defined(_MSC_VER) - #define MSVC -#endif diff --git a/src/inferno/event/event.h b/src/inferno/event/event.h index bd18521..322c51f 100644 --- a/src/inferno/event/event.h +++ b/src/inferno/event/event.h @@ -2,7 +2,7 @@ #include // std::ostream -#include "inferno/core.h" +#include "ruc/meta/core.h" namespace Inferno {