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

Commit

Permalink
Merge pull request #1064 from dsp/master
Browse files Browse the repository at this point in the history
Add nothrow for thread_detachThis
  • Loading branch information
andralex committed Dec 13, 2014
2 parents 46061e6 + 512ce94 commit 653abb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/thread.d
Original file line number Diff line number Diff line change
Expand Up @@ -2090,7 +2090,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 653abb8

Please sign in to comment.