diff options
Diffstat (limited to 'src/tcp_wrap.h')
-rw-r--r-- | src/tcp_wrap.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/tcp_wrap.h b/src/tcp_wrap.h index 829c1b22bf..90c81bcae6 100644 --- a/src/tcp_wrap.h +++ b/src/tcp_wrap.h @@ -44,10 +44,8 @@ class TCPWrap : public ConnectionWrap<TCPWrap, uv_tcp_t> { v8::Local<v8::Value> unused, v8::Local<v8::Context> context); - void MemoryInfo(MemoryTracker* tracker) const override { - tracker->TrackThis(this); - } - + SET_NO_MEMORY_INFO() + SET_SELF_SIZE(TCPWrap) std::string MemoryInfoName() const override { switch (provider_type()) { case ProviderType::PROVIDER_TCPWRAP: |