mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 00:20:08 +01:00
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:
parent
b6f4901221
commit
629e72e9f4
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user