Commit 28e664e
committed
Fix build on older macOS deployment targets
Apparently, macOS incorrectly hides this `std::optional.value` method
behind the deployment target, even though it's a header-only
implementation, so it shouldn't have any runtime requirement.
Instead of fiddling with deployment targets, use an alternate method for
getting the `std::optional` value.1 parent 35c1dd2 commit 28e664e
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
| 304 | + | |
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| |||
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
363 | | - | |
364 | | - | |
| 363 | + | |
| 364 | + | |
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
| |||
0 commit comments