Skip to content

Commit

Permalink
Made locally only used method private
Browse files Browse the repository at this point in the history
as suggested by @linkrope.
  • Loading branch information
kuniss committed Jan 6, 2024
1 parent de88bc1 commit 49328b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gamma/main.d
Original file line number Diff line number Diff line change
Expand Up @@ -255,10 +255,10 @@ void build(string[] fileNames, string outputDirectory)
exit(status);
}

string executableName(const string name)
private string executableName(const string name)
{
version(Windows)
return name ~ ".exe";
else
return name;
}
}

0 comments on commit 49328b8

Please sign in to comment.