diff options
| author | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2015-06-19 15:30:49 +0900 |
|---|---|---|
| committer | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2015-06-22 15:46:23 +0900 |
| commit | 0562c301e9e359ca32abf647e32300aaea75d8f7 (patch) | |
| tree | c226363ee2dbc512f577a621d64d442934ce348e /dep.h | |
| parent | 4a7113136b40e77d65ffd2ed22d1162a9e6f126b (diff) | |
[C++] Implement suffix rule
Diffstat (limited to 'dep.h')
| -rw-r--r-- | dep.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ #ifndef DEP_H_ #define DEP_H_ +#include <memory> #include <string> #include <unordered_map> #include <vector> @@ -30,7 +31,7 @@ struct DepNode { void InitDepNodePool(); void QuitDepNodePool(); -void MakeDep(const vector<Rule*>& rules, +void MakeDep(const vector<shared_ptr<Rule>>& rules, const Vars& vars, const unordered_map<StringPiece, Vars*>& rule_vars, const vector<StringPiece>& targets, |
