Commit a0a8d05
fix: Handle null file_name/function_name in source_location stream operator
Prevents undefined behavior when streaming a default-constructed
source_location with null pointers.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 3a4a989 commit a0a8d05
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| |||
0 commit comments