mirror of
https://github.com/corda/corda.git
synced 2025-02-08 03:50:34 +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>
|
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user