Commit 7b76e2b
authored
Explicit type cast for the smart pointer tested with AlwaysAssert
Fixed a problem where AlwaysAssert macro does not like std::unique_ptr as an expression (#52) by adding an explicit type cast. Ideally, we should push this type cast into AlwaysAssert (and other assert macros) to make it easier using them with non-trivial types.1 parent b87cffc commit 7b76e2b
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
| 288 | + | |
| 289 | + | |
289 | 290 | | |
290 | 291 | | |
291 | 292 | | |
| |||
0 commit comments