Merge pull request #1063 from larsclausen/vvp_net_ptr_t-default-destructor
vvp: Reduce overhead of passing vvp_net_ptr_t between functions
This commit is contained in:
commit
af92bef64f
|
|
@ -1055,7 +1055,7 @@ template <class T> class vvp_sub_pointer_t {
|
||||||
bits_ |= port__;
|
bits_ |= port__;
|
||||||
}
|
}
|
||||||
|
|
||||||
~vvp_sub_pointer_t() { }
|
~vvp_sub_pointer_t() = default;
|
||||||
|
|
||||||
T* ptr()
|
T* ptr()
|
||||||
{ return reinterpret_cast<T*> (bits_ & ~UINTPTR_C(3)); }
|
{ return reinterpret_cast<T*> (bits_ & ~UINTPTR_C(3)); }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue