diff --git a/vvp/vvp_net.h b/vvp/vvp_net.h index a5220209e..fdf9f28cc 100644 --- a/vvp/vvp_net.h +++ b/vvp/vvp_net.h @@ -1055,7 +1055,7 @@ template class vvp_sub_pointer_t { bits_ |= port__; } - ~vvp_sub_pointer_t() { } + ~vvp_sub_pointer_t() = default; T* ptr() { return reinterpret_cast (bits_ & ~UINTPTR_C(3)); }