Commit 895132a
committed
Not casting float to int, it violates strict aliasing rule
1 parent 97fe5f2 commit 895132a
File tree
2 files changed
+10
-8
lines changed- include/nlohmann/detail/input
- single_include/nlohmann
2 files changed
+10
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2803 | 2803 | | |
2804 | 2804 | | |
2805 | 2805 | | |
2806 | | - | |
2807 | | - | |
2808 | | - | |
2809 | | - | |
| 2806 | + | |
| 2807 | + | |
| 2808 | + | |
| 2809 | + | |
| 2810 | + | |
2810 | 2811 | | |
2811 | 2812 | | |
2812 | 2813 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12101 | 12101 | | |
12102 | 12102 | | |
12103 | 12103 | | |
12104 | | - | |
12105 | | - | |
12106 | | - | |
12107 | | - | |
| 12104 | + | |
| 12105 | + | |
| 12106 | + | |
| 12107 | + | |
| 12108 | + | |
12108 | 12109 | | |
12109 | 12110 | | |
12110 | 12111 | | |
| |||
0 commit comments