about summary refs log tree commit diff
path: root/absl/synchronization/notification.cc
diff options
context:
space:
mode:
Diffstat (limited to 'absl/synchronization/notification.cc')
-rw-r--r--absl/synchronization/notification.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/absl/synchronization/notification.cc b/absl/synchronization/notification.cc
index 53ace00870c9..1eb7f4161905 100644
--- a/absl/synchronization/notification.cc
+++ b/absl/synchronization/notification.cc
@@ -44,15 +44,6 @@ Notification::~Notification() {
   MutexLock l(&this->mutex_);
 }
 
-static inline bool HasBeenNotifiedInternal(
-    const std::atomic<bool> *notified_yet) {
-  return notified_yet->load(std::memory_order_acquire);
-}
-
-bool Notification::HasBeenNotified() const {
-  return HasBeenNotifiedInternal(&this->notified_yet_);
-}
-
 void Notification::WaitForNotification() const {
   if (!HasBeenNotifiedInternal(&this->notified_yet_)) {
     this->mutex_.LockWhen(Condition(&HasBeenNotifiedInternal,