src: fix typo in node_mutex

PR-URL: https://github.com/nodejs/node/pull/38011
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
Tobias Nießen 2021-03-31 23:03:23 +02:00 committed by Myles Borins
parent b6f4901221
commit 629e72e9f4
No known key found for this signature in database
GPG Key ID: 933B01F40B5CA946

View File

@ -32,7 +32,7 @@ class ExclusiveAccess {
class Scoped {
public:
// ExclusiveAccess will commonly be used in conjuction with std::shared_ptr
// ExclusiveAccess will commonly be used in conjunction with std::shared_ptr
// and without this constructor it's too easy to forget to keep a reference
// around to the shared_ptr while operating on the ExclusiveAccess object.
explicit Scoped(const std::shared_ptr<ExclusiveAccess>& shared)