deps: update googletest to 1b96fa13f549387b7549cc89e1a785cf143a1a50 · nodejs/node@ea5deab · GitHub
Skip to content

Commit ea5deab

Browse files
nodejs-github-botRafaelGSS
authored andcommitted
deps: update googletest to 1b96fa13f549387b7549cc89e1a785cf143a1a50
PR-URL: #60739 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent c23f40c commit ea5deab

3 files changed

Lines changed: 33 additions & 33 deletions

File tree

deps/googletest/include/gtest/internal/gtest-port.h

Lines changed: 7 additions & 9 deletions

deps/googletest/src/gtest-port.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ class ThreadLocalRegistryImpl {
499499
MemoryIsNotDeallocated memory_is_not_deallocated;
500500
#endif // _MSC_VER
501501
DWORD current_thread = ::GetCurrentThreadId();
502-
MutexLock lock(&mutex_);
502+
MutexLock lock(mutex_);
503503
ThreadIdToThreadLocals* const thread_to_thread_locals =
504504
GetThreadLocalsMapLocked();
505505
ThreadIdToThreadLocals::iterator thread_local_pos =
@@ -532,7 +532,7 @@ class ThreadLocalRegistryImpl {
532532
// Clean up the ThreadLocalValues data structure while holding the lock, but
533533
// defer the destruction of the ThreadLocalValueHolderBases.
534534
{
535-
MutexLock lock(&mutex_);
535+
MutexLock lock(mutex_);
536536
ThreadIdToThreadLocals* const thread_to_thread_locals =
537537
GetThreadLocalsMapLocked();
538538
for (ThreadIdToThreadLocals::iterator it =
@@ -559,7 +559,7 @@ class ThreadLocalRegistryImpl {
559559
// Clean up the ThreadIdToThreadLocals data structure while holding the
560560
// lock, but defer the destruction of the ThreadLocalValueHolderBases.
561561
{
562-
MutexLock lock(&mutex_);
562+
MutexLock lock(mutex_);
563563
ThreadIdToThreadLocals* const thread_to_thread_locals =
564564
GetThreadLocalsMapLocked();
565565
ThreadIdToThreadLocals::iterator thread_local_pos =

deps/googletest/src/gtest.cc

Lines changed: 23 additions & 21 deletions

0 commit comments

Comments
 (0)