mirror of
https://github.com/corda/corda.git
synced 2025-01-21 03:55:00 +00:00
use static_cast in place of c-style cast (code review feedback)
This commit is contained in:
parent
8a4b043ee3
commit
4e9da8deb2
@ -71,7 +71,7 @@ class Heap : public avian::util::Allocator {
|
||||
template <class T>
|
||||
T* follow(T* p)
|
||||
{
|
||||
return static_cast<T*>(follow((void*)p));
|
||||
return static_cast<T*>(follow(static_cast<void*>(p)));
|
||||
}
|
||||
|
||||
virtual void postVisit() = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user