Commit e258e78
Fix a cpplint allocator regression. (#590)
We can't unconditionally include rcutils/allocator.h in the
msg__functions.c.em, because that file is used multiple times
when generating services. That causes cpplint to complain
about a duplicate include. Instead put the include in
idl__functions.c.em, and mark it as already included so we
won't try to include it again.
Signed-off-by: Chris Lalancette <[email protected]>
Signed-off-by: Shane Loretz <[email protected]>1 parent 073dfba commit e258e78
File tree
2 files changed
+3
-3
lines changed- rosidl_generator_c/resource
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | 55 | | |
58 | 56 | | |
59 | 57 | | |
| |||
0 commit comments