Log Message: |
Funny, I always read "dynamic_cast" here, although it is a static_cast (or
better say an old C cast).
This cast will not check for a valid type cast and therefore might be invalid.
All of the following tests will not be accurate then and the dynamic_cast in
the return statement might fail in the end.
|