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