Skip to content

Commit deb2221

Browse files
committed
update
1 parent 13beb6f commit deb2221

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/components/async_mutex/mutex_awaiter.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ void MutexAwaiter::ReleaseLock() const {
3939
}
4040
}
4141

42-
// bool MutexAwaiter::HasLock() const {
43-
// return guard.owns_lock();
44-
// }
45-
4642
bool MutexAwaiter::await_ready() const {
4743
const bool lock_own = event.TryLock();
4844

src/components/async_mutex/mutex_awaiter.h

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ class MutexAwaiter final {
2525

2626
void Resume() const { coro.resume(); }
2727
void ReleaseLock() const;
28-
// bool HasLock() const;
2928

3029
bool await_ready() const;
3130
void await_suspend(std::coroutine_handle<>) noexcept;

0 commit comments

Comments
 (0)