setHeight should have been declaired void instead of float
authorDiane Trout <diane@caltech.edu>
Fri, 11 Apr 2008 04:05:39 +0000 (21:05 -0700)
committerDiane Trout <diane@caltech.edu>
Fri, 11 Apr 2008 04:05:39 +0000 (21:05 -0700)
alg/drawable.hpp

index 1ed9169fda9cd8ddc51f9d4337c5dd7d2a13701b..8760daf180b9263c4591c7ab9b5383b9621d4e63 100644 (file)
@@ -47,7 +47,7 @@ public:
   float z() const { return draw_z; }
   
   //! set how tall our rectangle should be
   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; }
 
   //! how thick (high) the track we're drawing is
   float height() const { return draw_height; }