Commit ef75946
Darryl Gough
Fix failed assert in XrMath.h (#110)
Fixed issue #109. The error occurred in VS2022 but not in the VS2019 toolset.
The compiler error message isn't as obvious now but I added a comment if anyone tries to use xr::math::cast for a type that hasn't added a template specialization.1 parent e1a3b69 commit ef75946
1 file changed
Lines changed: 4 additions & 9 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
57 | 59 | | |
58 | | - | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| |||
105 | 107 | | |
106 | 108 | | |
107 | 109 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | 110 | | |
116 | 111 | | |
117 | 112 | | |
| |||
0 commit comments