diff options
Diffstat (limited to 'src/SFML/Graphics/RectangleShape.cpp')
-rw-r--r-- | src/SFML/Graphics/RectangleShape.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/SFML/Graphics/RectangleShape.cpp b/src/SFML/Graphics/RectangleShape.cpp index be04abd..6fa4119 100644 --- a/src/SFML/Graphics/RectangleShape.cpp +++ b/src/SFML/Graphics/RectangleShape.cpp @@ -1,7 +1,7 @@ //////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library -// Copyright (C) 2007-2014 Laurent Gomila (laurent.gom@gmail.com) +// Copyright (C) 2007-2015 Laurent Gomila (laurent@sfml-dev.org) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages arising from the use of this software. @@ -54,14 +54,14 @@ const Vector2f& RectangleShape::getSize() const //////////////////////////////////////////////////////////// -unsigned int RectangleShape::getPointCount() const +std::size_t RectangleShape::getPointCount() const { return 4; } //////////////////////////////////////////////////////////// -Vector2f RectangleShape::getPoint(unsigned int index) const +Vector2f RectangleShape::getPoint(std::size_t index) const { switch (index) { |