Commit 239e255
authored
refactor: remove obsolete format string workaround (#448)
Remove workaround for old Clang/libc++ bug where "<{}>" in format
strings was incorrectly parsed. Modern compilers handle this correctly.
Changes:
- Simplify ListType::ToString() to use direct format string
- Simplify MapType::ToString() to use direct format string
- Remove XXX comments about the workaround
The existing tests will verify this works correctly on current
compilers.1 parent 8926246 commit 239e255
1 file changed
+2
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
| 153 | + | |
161 | 154 | | |
162 | 155 | | |
163 | 156 | | |
| |||
213 | 206 | | |
214 | 207 | | |
215 | 208 | | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
| 209 | + | |
223 | 210 | | |
224 | 211 | | |
225 | 212 | | |
| |||
0 commit comments