mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
use Array.empty instead of new [0] to avoid unused allocation
This commit is contained in:
parent
d3e88c478a
commit
f693f1c6af
1 changed files with 1 additions and 1 deletions
|
|
@ -481,7 +481,7 @@ namespace Flow.Launcher.Plugin.Program.Programs
|
|||
{
|
||||
ProgramLogger.LogException("|Win32|All|Not available|An unexpected error occurred", e);
|
||||
|
||||
return new Win32[0];
|
||||
return Array.Empty<Win32>();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue