Base: replace several reinterpret_cast

This commit is contained in:
wmayer
2022-05-11 20:01:40 +02:00
parent e0116c271a
commit b39c6f62b4
7 changed files with 56 additions and 59 deletions

View File

@@ -37,7 +37,7 @@ using namespace Base;
// returns a string which represents the object e.g. when printed in python
std::string RotationPy::representation() const
{
RotationPy::PointerType ptr = reinterpret_cast<RotationPy::PointerType>(_pcTwinPointer);
RotationPy::PointerType ptr = getRotationPtr();
Py::Float q0(ptr->getValue()[0]);
Py::Float q1(ptr->getValue()[1]);
Py::Float q2(ptr->getValue()[2]);