From 01315e3afa84f779f3a84e57e3122cbb904026d5 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Fri, 27 Nov 2015 20:23:32 +0300 Subject: [PATCH] Move documentation bit to method it actually belongs to --- SDL2pp/Rect.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SDL2pp/Rect.hh b/SDL2pp/Rect.hh index abc6db7..428f632 100644 --- a/SDL2pp/Rect.hh +++ b/SDL2pp/Rect.hh @@ -271,6 +271,8 @@ public: /// /// \param[in] x2 New X coordinate value /// + /// This modifies rectangle width internally + /// /// \returns Reference to self /// //////////////////////////////////////////////////////////// @@ -284,8 +286,6 @@ public: /// /// \returns Y coordinate of the rect second corner /// - /// This modifies rectangle width internally - /// //////////////////////////////////////////////////////////// constexpr int GetY2() const { return y + h - 1;