Commit de832234 by Abseil Team Committed by Copybara-Service

Remove unneeded "friends" from KernelTimeout.

PiperOrigin-RevId: 496974198
Change-Id: I73b4013a2ad9fd37650d788cbd1e758b327b59d2
parent 6a876051
......@@ -19,8 +19,8 @@
// Constructible from a absl::Time (for a timeout to be respected) or {}
// (for "no timeout".)
// This is a private low-level API for use by a handful of low-level
// components that are friends of this class. Higher-level components
// should build APIs based on absl::Time and absl::Duration.
// components. Higher-level components should build APIs based on
// absl::Time and absl::Duration.
#ifndef ABSL_SYNCHRONIZATION_INTERNAL_KERNEL_TIMEOUT_H_
#define ABSL_SYNCHRONIZATION_INTERNAL_KERNEL_TIMEOUT_H_
......@@ -39,7 +39,6 @@ namespace absl {
ABSL_NAMESPACE_BEGIN
namespace synchronization_internal {
class Futex;
class Waiter;
class KernelTimeout {
......@@ -124,10 +123,9 @@ class KernelTimeout {
}
return 0;
}
#endif
friend class Futex;
friend class Waiter;
#endif
};
inline struct timespec KernelTimeout::MakeAbsTimespec() const {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment