Skip to content

Commit 29d9599

Browse files
committed
Fix compilation
1 parent 5928515 commit 29d9599

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

CxxParser/code_completion_api.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
#include "function.h"
77
#include "variable.h"
88

9+
#include <map>
10+
#include <string>
11+
#include <vector>
12+
913
extern WXDLLIMPEXP_CL std::string get_scope_name(const std::string& in,
1014
std::vector<std::string>& additionlNS,
1115
const std::map<std::string, std::string>& ignoreTokens);

CxxParser/main.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// test the parser
22
#include "code_completion_api.h"
33

4-
#include <errno.h>
5-
#include <map>
6-
#include <stdio.h>
7-
#include <string.h>
8-
#include <string>
9-
#include <vector>
4+
#include <cstring>
105

116
void testScopeParser(char* buf);
127
void testVarParser(char* buf);

0 commit comments

Comments
 (0)