mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Remove some unnecessary #includes from binpac source files
This commit is contained in:
parent
deeca84332
commit
adb28453a7
27 changed files with 19 additions and 54 deletions
|
@ -3,15 +3,18 @@
|
|||
#ifndef pac_cclass_h
|
||||
#define pac_cclass_h
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class CClass;
|
||||
class CClassMember;
|
||||
class CClassMethod;
|
||||
class CType;
|
||||
class CVariable;
|
||||
|
||||
typedef vector<CClassMember*> CClassMemberList;
|
||||
typedef vector<CClassMethod*> CClassMethodList;
|
||||
typedef vector<CVariable*> CVariableList;
|
||||
using CClassMemberList = std::vector<CClassMember*>;
|
||||
using CClassMethodList = std::vector<CClassMethod*>;
|
||||
using CVariableList = std::vector<CVariable*>;
|
||||
|
||||
#include "pac_common.h"
|
||||
|
||||
|
@ -44,7 +47,7 @@ protected:
|
|||
|
||||
class CVariable {
|
||||
public:
|
||||
CClassMember(const string& name, CType* type);
|
||||
CVariable(const std::string& name, CType* type);
|
||||
|
||||
string name() const { return name_; }
|
||||
CType* type() const { return type_; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue