From 209d393b2701854dbc441b05afd987a185a62b40 Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Thu, 10 Apr 2008 21:05:39 -0700 Subject: [PATCH] setHeight should have been declaired void instead of float --- alg/drawable.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alg/drawable.hpp b/alg/drawable.hpp index 1ed9169..8760daf 100644 --- a/alg/drawable.hpp +++ b/alg/drawable.hpp @@ -47,7 +47,7 @@ public: float z() const { return draw_z; } //! set how tall our rectangle should be - float setHeight(float h) { draw_height = h; } + void setHeight(float h) { draw_height = h; } //! how thick (high) the track we're drawing is float height() const { return draw_height; } -- 2.30.2