summaryrefslogtreecommitdiff
path: root/src/tty_wrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tty_wrap.h')
-rw-r--r--src/tty_wrap.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tty_wrap.h b/src/tty_wrap.h
index 91b07a570e..cca5650ddb 100644
--- a/src/tty_wrap.h
+++ b/src/tty_wrap.h
@@ -38,7 +38,9 @@ class TTYWrap : public LibuvStreamWrap {
uv_tty_t* UVHandle();
- size_t self_size() const override { return sizeof(*this); }
+ void MemoryInfo(MemoryTracker* tracker) const override {
+ tracker->TrackThis(this);
+ }
private:
TTYWrap(Environment* env,