Skip to content

Commit

Permalink
Unnecessary Cast
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosst0pher committed Jul 30, 2020
1 parent 3c2e66d commit 19f591f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SFML.Graphics/Rect.cs
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ public bool Contains(Vector2i point)
////////////////////////////////////////////////////////////
public bool Contains(Vector2u point)
{
return Contains((Vector2i)point);
return Contains((Vector2f)point);
}

////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 19f591f

Please sign in to comment.