Skip to content

Commit

Permalink
Always include required headers for map and stack
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed May 14, 2021
1 parent 25b765b commit 78e0a18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions src/output.cpp
Expand Up @@ -17,13 +17,10 @@
#include "unc_ctype.h"
#include "unicode.h"

#include <map>
#include <regex>
#include <set>

#ifdef WIN32
#include <map> // to get std::map
#endif // WIN32


constexpr static auto LCURRENT = LOUTPUT;

Expand Down
5 changes: 1 addition & 4 deletions src/tokenize.cpp
Expand Up @@ -16,10 +16,7 @@
#include "unc_ctype.h"

#include <regex>

#ifdef WIN32
#include <stack> // to get std::stack
#endif // WIN32
#include <stack>


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

0 comments on commit 78e0a18

Please sign in to comment.