Skip to content

Commit

Permalink
Make LocalTaskSemaphore.this nothrow
Browse files Browse the repository at this point in the history
Silence a (rightful) deprecation from v2.096.0.
  • Loading branch information
Geod24 committed Mar 15, 2021
1 parent e448386 commit 2015e72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/vibe/core/sync.d
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ final class LocalTaskSemaphore
LocalManualEvent m_signal;
}

this(uint max_locks)
this(uint max_locks) nothrow
{
m_maxLocks = max_locks;
m_signal = createManualEvent();
Expand Down

0 comments on commit 2015e72

Please sign in to comment.