Skip to content

Commit

Permalink
Selective import
Browse files Browse the repository at this point in the history
  • Loading branch information
trikko committed Dec 24, 2024
1 parent b3390ef commit 2d36a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/serverino/common.d
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ version(Posix)

version(Posix) package void setProcessName(string[] names)
{
import core.thread;
import core.thread : Thread;

// We don't want to set the name of the process if we are running in a thread
if (!Thread.getThis().isMainThread)
Expand Down

0 comments on commit 2d36a1b

Please sign in to comment.