Skip to content

Commit

Permalink
Remove deprecated std.concurrency.MessageBox.isClosed() const.
Browse files Browse the repository at this point in the history
Within Phobos, this is the only occurrence of synchronizing on an immutable object. Removal of this deprecated function allows us to resolve Issue 14251.
  • Loading branch information
JohanEngelen committed Mar 28, 2016
1 parent 0d6d7fc commit 4b74c5f
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions std/concurrency.d
Expand Up @@ -1804,20 +1804,6 @@ private
}
}

// @@@DEPRECATED_2016-03@@@
/++
$(RED Deprecated. isClosed can't be used with a const MessageBox.
It will be removed in March 2016).
+/
deprecated("isClosed can't be used with a const MessageBox")
final @property bool isClosed() const
{
synchronized( m_lock )
{
return m_closed;
}
}

///
final @property bool isClosed()
{
Expand Down

0 comments on commit 4b74c5f

Please sign in to comment.