Commit 764414a
Handle includer_ in CompileOptions copy/move constructors
Copying CompileOptions() results in a new object with possibly dangling
pointers to the old include callbacks. This patch just clears them,
since includer_ doesn't have a way to clone() it.
Moving CompileOptions() moves options_ but not includer_. This patch
moves includer_ too.1 parent 4d98dac commit 764414a
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
146 | 149 | | |
147 | | - | |
| 150 | + | |
148 | 151 | | |
149 | 152 | | |
150 | 153 | | |
| |||
0 commit comments