Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Add nothrow for thread_detachThis
Browse files Browse the repository at this point in the history
  • Loading branch information
David Soria Parra committed Dec 12, 2014
1 parent 6c6c431 commit 512ce94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/thread.d
Expand Up @@ -2108,7 +2108,7 @@ version( Windows )
*
* $(D extern(C) void rt_moduleTlsCtor();)
*/
extern (C) void thread_detachThis()
extern (C) void thread_detachThis() nothrow
{
if (auto t = Thread.getThis())
Thread.remove(t);
Expand Down

0 comments on commit 512ce94

Please sign in to comment.