Commit 7a6e28a
authored
Add assertion to converting constructor (#3517)
The converting basic_json constructor can inadvertently change the value
type of its parameter. Assert that both basic_json values are of the
same value type after conversion.1 parent 560cede commit 7a6e28a
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
916 | 916 | | |
917 | 917 | | |
918 | 918 | | |
| 919 | + | |
919 | 920 | | |
920 | 921 | | |
921 | 922 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19190 | 19190 | | |
19191 | 19191 | | |
19192 | 19192 | | |
| 19193 | + | |
19193 | 19194 | | |
19194 | 19195 | | |
19195 | 19196 | | |
| |||
0 commit comments