commit | 58833409519bc000bfcd649dc8290a399a495403 | [log] [tgz] |
---|---|---|
author | Carlos Chinchilla <cachinchilla@google.com> | Thu Oct 07 11:04:53 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 07 23:31:56 2021 +0000 |
tree | 0f18aa1e0cdb2b739f45c162f9434c4ac5df081c | |
parent | bf9e3be8e9773437f1ec7c9c3d58637086552aeb [diff] |
pw_sync: Fix method's classname No-Docs-Update-Reason: simple bug fix. Change-Id: I62771aefb22e18782efb950f6c583dcb288b50cb Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/64480 Reviewed-by: Ewout van Bekkum <ewout@google.com> Commit-Queue: Carlos Chinchilla <cachinchilla@google.com>
diff --git a/pw_sync_threadx/public/pw_sync_threadx/timed_mutex_inline.h b/pw_sync_threadx/public/pw_sync_threadx/timed_mutex_inline.h index 84e1902..92f5ef2 100644 --- a/pw_sync_threadx/public/pw_sync_threadx/timed_mutex_inline.h +++ b/pw_sync_threadx/public/pw_sync_threadx/timed_mutex_inline.h
@@ -18,7 +18,8 @@ namespace pw::sync { -inline bool Mutex::try_lock_until(chrono::SystemClock::time_point deadline) { +inline bool TimedMutex::try_lock_until( + chrono::SystemClock::time_point deadline) { // Note that if this deadline is in the future, it will get rounded up by // one whole tick due to how try_lock_for is implemented. return try_lock_for(deadline - chrono::SystemClock::now());