use static_cast in place of c-style cast (code review feedback)

This commit is contained in:
Joshua Warner 2014-07-12 09:43:54 -06:00
parent 8a4b043ee3
commit 4e9da8deb2

View File

@ -71,7 +71,7 @@ class Heap : public avian::util::Allocator {
template <class T> template <class T>
T* follow(T* p) T* follow(T* p)
{ {
return static_cast<T*>(follow((void*)p)); return static_cast<T*>(follow(static_cast<void*>(p)));
} }
virtual void postVisit() = 0; virtual void postVisit() = 0;