From 13bb8ff5fc8a14796bacc29f19071ef863e22b8f Mon Sep 17 00:00:00 2001 From: Gennaro Prota Date: Fri, 20 Jun 2025 09:48:28 +0200 Subject: [PATCH] Move an include of to where it belongs The header was included in String.hpp, but that file doesn't use any of its functions. However, ParseJavadoc.cpp does, so we add the include there. --- include/mrdocs/Support/String.hpp | 1 - src/lib/AST/ParseJavadoc.cpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mrdocs/Support/String.hpp b/include/mrdocs/Support/String.hpp index 74dcbc06e..2fc859f26 100644 --- a/include/mrdocs/Support/String.hpp +++ b/include/mrdocs/Support/String.hpp @@ -13,7 +13,6 @@ #define MRDOCS_API_SUPPORT_STRING_HPP #include -#include #include #include diff --git a/src/lib/AST/ParseJavadoc.cpp b/src/lib/AST/ParseJavadoc.cpp index a12346a1e..e0ffcfb69 100644 --- a/src/lib/AST/ParseJavadoc.cpp +++ b/src/lib/AST/ParseJavadoc.cpp @@ -24,6 +24,7 @@ #include #include #include "lib/AST/ParseRef.hpp" +#include #ifdef _MSC_VER #pragma warning(push)