The existing code checks that w.m_ptr is not nullptr before using it. clang's flow analysis is unable to prove that w.m_ptr does not become nullptr after it was first checked, even though `w` is const. This causes clang to include calls to null_pointer_exception::report, which is not instantiated for wall. That in turn causes a link error. Rewrite the code to let clang see that the value tested is the value used, and that no nullptr dereference can happen here. |
||
---|---|---|
.. | ||
2d | ||
3d | ||
arch | ||
editor | ||
main | ||
misc |