Should be:
```c++
float height() const;
```