From c22b50e62e5b794324dfc417223c51eaaac4c9a3 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Mon, 19 Jan 2015 01:08:27 +0300 Subject: [PATCH] Add missing return --- SDL2pp/Rect.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/SDL2pp/Rect.cc b/SDL2pp/Rect.cc index 89962f8..adbc503 100644 --- a/SDL2pp/Rect.cc +++ b/SDL2pp/Rect.cc @@ -113,6 +113,7 @@ int Rect::GetH() const { Rect& Rect::SetH(int nh) { h = nh; + return *this; } int Rect::GetX2() const {