diff options
Diffstat (limited to 'base/threading/platform_thread.h')
-rw-r--r-- | base/threading/platform_thread.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/threading/platform_thread.h b/base/threading/platform_thread.h index 9742d57..f2f3b26 100644 --- a/base/threading/platform_thread.h +++ b/base/threading/platform_thread.h @@ -53,15 +53,15 @@ class PlatformThreadHandle { id_(id) { } - bool is_equal(const PlatformThreadHandle& other) { + bool is_equal(const PlatformThreadHandle& other) const { return handle_ == other.handle_; } - bool is_null() { + bool is_null() const { return !handle_; } - Handle platform_handle() { + Handle platform_handle() const { return handle_; } |