Skip to content

Commit 78e0a18

Browse files
committed
Always include required headers for map and stack
1 parent 25b765b commit 78e0a18

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

src/output.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,10 @@
1717
#include "unc_ctype.h"
1818
#include "unicode.h"
1919

20+
#include <map>
2021
#include <regex>
2122
#include <set>
2223

23-
#ifdef WIN32
24-
#include <map> // to get std::map
25-
#endif // WIN32
26-
2724

2825
constexpr static auto LCURRENT = LOUTPUT;
2926

src/tokenize.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@
1616
#include "unc_ctype.h"
1717

1818
#include <regex>
19-
20-
#ifdef WIN32
21-
#include <stack> // to get std::stack
22-
#endif // WIN32
19+
#include <stack>
2320

2421

2522
#define LE_COUNT(x) cpd.le_counts[static_cast<size_t>(LE_ ## x)]

0 commit comments

Comments
 (0)