From f8a08dfaade7e80bc5cd4289e1e638c70d51b868 Mon Sep 17 00:00:00 2001 From: Anthony Williams Date: Thu, 28 Sep 2006 11:31:40 +0000 Subject: [PATCH] condition doesn't need to be a friend of these classes in the new implementation [SVN r35361] --- include/boost/thread/win32/lock.hpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/boost/thread/win32/lock.hpp b/include/boost/thread/win32/lock.hpp index 2b8504a0..35d92d88 100644 --- a/include/boost/thread/win32/lock.hpp +++ b/include/boost/thread/win32/lock.hpp @@ -16,7 +16,6 @@ namespace boost { -class condition; struct xtime; namespace detail { namespace thread { @@ -89,7 +88,6 @@ public: operator const void*() const { return m_locked ? this : 0; } private: - friend class boost::condition; Mutex& m_mutex; bool m_locked; @@ -138,7 +136,6 @@ public: operator const void*() const { return m_locked ? this : 0; } private: - friend class boost::condition; TryMutex& m_mutex; bool m_locked; @@ -192,7 +189,6 @@ public: operator const void*() const { return m_locked ? this : 0; } private: - friend class boost::condition; TimedMutex& m_mutex; bool m_locked;