Skip to content

Commit 1a5b15a

Browse files
authored
fix: move an include of <cctype> 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.
1 parent b7917af commit 1a5b15a

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

include/mrdocs/Support/String.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#define MRDOCS_API_SUPPORT_STRING_HPP
1414

1515
#include <mrdocs/Platform.hpp>
16-
#include <cctype>
1716
#include <string>
1817
#include <string_view>
1918

src/lib/AST/ParseJavadoc.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include <clang/Lex/Lexer.h>
2525
#include <clang/Basic/SourceLocation.h>
2626
#include "lib/AST/ParseRef.hpp"
27+
#include <cctype>
2728

2829
#ifdef _MSC_VER
2930
#pragma warning(push)

0 commit comments

Comments
 (0)