Update spelling of Mutex::lock and Mutex::unlock for compatibility

with the standard and the latest Abseil

PiperOrigin-RevId: 806260850
Change-Id: Ie973be4a3aaf7e174cd692ce6df7a82c8f261bf7
This commit is contained in:
Derek Mauro
2025-09-12 06:17:43 -07:00
committed by Copybara-Service
parent 7917641ff9
commit 9df216cc9d
5 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -436,9 +436,9 @@ bool UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked()
UntypedExpectations expectations_to_delete;
untyped_expectations_.swap(expectations_to_delete);
g_gmock_mutex.Unlock();
g_gmock_mutex.unlock();
expectations_to_delete.clear();
g_gmock_mutex.Lock();
g_gmock_mutex.lock();
return expectations_met;
}