Fixed compile error in sf::Rect

This commit is contained in:
Laurent Gomila 2012-03-12 18:01:36 +01:00
parent 7d91763606
commit 4119c3bb31

View File

@ -64,9 +64,9 @@ template <typename T>
template <typename U> template <typename U>
Rect<T>::Rect(const Rect<U>& rectangle) : Rect<T>::Rect(const Rect<U>& rectangle) :
left (static_cast<T>(rectangle.left)), left (static_cast<T>(rectangle.left)),
top (static_cast<T>(rectangle.Top)), top (static_cast<T>(rectangle.top)),
width (static_cast<T>(rectangle.Width)), width (static_cast<T>(rectangle.width)),
height(static_cast<T>(rectangle.Height)) height(static_cast<T>(rectangle.height))
{ {
} }