diff --git a/src/headers/parsing/ParseComponents.hpp b/src/headers/parsing/ParseComponents.hpp index 7a57e78..6dba57e 100644 --- a/src/headers/parsing/ParseComponents.hpp +++ b/src/headers/parsing/ParseComponents.hpp @@ -13,7 +13,8 @@ using namespace std; #include "../lex.hpp" -#define IS(X) template::value>::type* = nullptr> +#include +#define IS(X) template T = X> struct ParseComponent { [[nodiscard]] constexpr const type_info& getId() const { return typeid(*this); } virtual ~ParseComponent() = default;