From f031b354520ea2cc28a9157c23458d3f173d7740 Mon Sep 17 00:00:00 2001 From: GregTheMadMonk Date: Thu, 28 Dec 2023 21:01:25 +0300 Subject: [PATCH] Fix #41: add an include and a fordward declaration --- include/rfl/internal/is_attribute.hpp | 3 +++ include/rfl/parsing/NamedTupleParser.hpp | 1 + 2 files changed, 4 insertions(+) diff --git a/include/rfl/internal/is_attribute.hpp b/include/rfl/internal/is_attribute.hpp index d048f9fb..491b4431 100644 --- a/include/rfl/internal/is_attribute.hpp +++ b/include/rfl/internal/is_attribute.hpp @@ -8,6 +8,9 @@ #include "rfl/Field.hpp" namespace rfl { + +template struct Attribute; + namespace internal { template diff --git a/include/rfl/parsing/NamedTupleParser.hpp b/include/rfl/parsing/NamedTupleParser.hpp index ca0f4c4b..df257e09 100644 --- a/include/rfl/parsing/NamedTupleParser.hpp +++ b/include/rfl/parsing/NamedTupleParser.hpp @@ -8,6 +8,7 @@ #include "rfl/NamedTuple.hpp" #include "rfl/Result.hpp" #include "rfl/always_false.hpp" +#include "rfl/internal/Memoization.hpp" #include "rfl/internal/is_basic_type.hpp" #include "rfl/internal/strings/replace_all.hpp" #include "rfl/parsing/is_required.hpp"