Skip to content

fix: reinterpret_cast from 'nullptr_t' is not allowed

mpkh requested to merge mpkh/vtk:patch-4 into master

The null pointer value of any pointer type can be converted to any other pointer type, resulting in the null pointer value of that type. Note that the null pointer constant nullptr or any other value of type std::nullptr_t cannot be converted to a pointer with reinterpret_cast: implicit conversion or static_cast should be used for this purpose.

Merge request reports