Commit 2148b192 authored by Franziska Hinkelmann's avatar Franziska Hinkelmann Committed by Rod Vagg
Browse files

src: use unique_ptr in platform implementation

Replace raw pointers in task queues with std::unique_ptr. This
makes ownership obvious.

Backport-PR-URL: https://github.com/nodejs/node/pull/20901
PR-URL: https://github.com/nodejs/node/pull/16970


Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarGireesh Punathil <gpunathi@in.ibm.com>
parent e9327541
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment