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:
Cary R 2024-01-06 22:14:41 -08:00 committed by GitHub
commit af92bef64f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1055,7 +1055,7 @@ template <class T> class vvp_sub_pointer_t {
bits_ |= port__;
}
~vvp_sub_pointer_t() { }
~vvp_sub_pointer_t() = default;
T* ptr()
{ return reinterpret_cast<T*> (bits_ & ~UINTPTR_C(3)); }