aboutsummaryrefslogtreecommitdiff
path: root/source/20-codegen-compiler/CodegenUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/20-codegen-compiler/CodegenUtils.cpp')
-rw-r--r--source/20-codegen-compiler/CodegenUtils.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/20-codegen-compiler/CodegenUtils.cpp b/source/20-codegen-compiler/CodegenUtils.cpp
index a43b72c..0c70cb6 100644
--- a/source/20-codegen-compiler/CodegenUtils.cpp
+++ b/source/20-codegen-compiler/CodegenUtils.cpp
@@ -120,10 +120,7 @@ void Utils::ProduceGeneratedHeader(const char* headerFilename, CodegenOutput& he
headerOut.text += &R"""(
// This file is generated. Any changes will be overidden when building.
#pragma once
-
#include <MetadataBase.hpp>
-#include <MetadataDetails.hpp>
-
#include <cstddef>
#include <cstdint>
)"""[1];
@@ -132,6 +129,7 @@ void Utils::ProduceGeneratedHeader(const char* headerFilename, CodegenOutput& he
APPEND_LIT_LN(sourceOut.text, "// This file is generated. Any changes will be overidden when building.");
APPEND_FMT_LN(sourceOut.text, "#include \"%s\"", headerFilename);
sourceOut.text += &R"""(
+#include <MetadataDetails.hpp>
#include <frozen/string.h>
#include <frozen/unordered_map.h>
using namespace std::literals;