Skip to content

Commit 5a78e6b

Browse files
committed
Use more performant string compare
1 parent 5b74b30 commit 5a78e6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AppInstallerSharedLib/AppInstallerStrings.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -943,12 +943,12 @@ namespace AppInstaller::Utility
943943
{
944944
try
945945
{
946-
if (ICUCaseInsensitiveEquals(input, "false"sv))
946+
if (CaseInsensitiveEquals(input, "false"sv))
947947
{
948948
return { false };
949949
}
950950

951-
if (ICUCaseInsensitiveEquals(input, "true"sv))
951+
if (CaseInsensitiveEquals(input, "true"sv))
952952
{
953953
return { true };
954954
}

0 commit comments

Comments
 (0)