Commit 255b6f9
Jim Hague
Revise emplace_back() to push_back() and fix Mac clang complaint.
In both cases we have a created object we want to move onto the vector.
Mac's clang objects to the first std::move() as it's applied to a
temporary and disables copy elision.1 parent b2c942f commit 255b6f9
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| |||
0 commit comments