We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab46b8e commit af57990Copy full SHA for af57990
src/cares_wrap.cc
@@ -158,7 +158,7 @@ class ChannelWrap : public AsyncWrap {
158
}
159
inline node_ares_task_list* task_list() { return &task_list_; }
160
161
- size_t self_size() const override { return sizeof(this); }
+ size_t self_size() const override { return sizeof(*this); }
162
163
static void AresTimeout(uv_timer_t* handle);
164
0 commit comments