Skip to content

Commit

Permalink
Use VP_EXPLICIT instead of explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
fspindle committed Jun 24, 2024
1 parent 6a15900 commit 5e2091a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/core/src/tools/geometry/vpRectOriented.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ vpRectOriented &vpRectOriented::operator=(const vpRect &rect)
return *this;
}

#if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
/**
* Conversion to vpRect operator.
*/
Expand All @@ -135,6 +136,7 @@ vpRectOriented::operator vpRect()

return vpRect(m_topLeft, m_bottomRight);
}
#endif

/** Set the corners of the rectangle.
* @warning This method doesn't check whether the 4 points actually form a rectangle!
Expand Down

0 comments on commit 5e2091a

Please sign in to comment.