mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 15:51:04 +08:00
Fixed compile error in sf::Rect
This commit is contained in:
parent
7d91763606
commit
4119c3bb31
@ -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))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user