Commit 77a1f8f
committed
Fix Ubuntu CI build by replacing autoreleasepool with do blocks
Replace autoreleasepool blocks with do blocks in SubgraphCompatibilityTests
to fix build failures on Ubuntu/Linux where autoreleasepool is not available
(Darwin-only feature). The do blocks maintain the same scoping behavior
needed for the tests while being cross-platform compatible.1 parent aebb6e1 commit 77a1f8f
File tree
1 file changed
+4
-11
lines changed- Tests/OpenAttributeGraphCompatibilityTests/Graph
1 file changed
+4
-11
lines changedLines changed: 4 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | | - | |
40 | | - | |
| 39 | + | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
46 | | - | |
47 | 45 | | |
48 | 46 | | |
49 | | - | |
50 | 47 | | |
51 | 48 | | |
52 | 49 | | |
53 | 50 | | |
54 | 51 | | |
55 | 52 | | |
56 | 53 | | |
57 | | - | |
| 54 | + | |
58 | 55 | | |
59 | 56 | | |
60 | 57 | | |
61 | 58 | | |
62 | 59 | | |
63 | | - | |
64 | 60 | | |
65 | 61 | | |
66 | | - | |
67 | 62 | | |
68 | 63 | | |
69 | 64 | | |
70 | 65 | | |
71 | 66 | | |
72 | 67 | | |
73 | | - | |
| 68 | + | |
74 | 69 | | |
75 | 70 | | |
76 | 71 | | |
77 | 72 | | |
78 | 73 | | |
79 | 74 | | |
80 | 75 | | |
81 | | - | |
82 | 76 | | |
83 | 77 | | |
84 | | - | |
85 | 78 | | |
86 | 79 | | |
0 commit comments