Skip to content

Commit

Permalink
const&
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnMcPMS committed Jul 5, 2023
1 parent a5cafd4 commit 9ec8b25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AppInstallerCLICore/Workflows/InstallFlow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ namespace AppInstaller::CLI::Workflow

// If the installer claims to have a PackageFamilyName, and that family name is currently registered for the user,
// let that be the correlated item and skip any attempt at further ARP correlation.
auto installer = context.Get<Execution::Data::Installer>();
const auto& installer = context.Get<Execution::Data::Installer>();

if (installer && !installer->PackageFamilyName.empty() && Deployment::IsRegistered(installer->PackageFamilyName))
{
Expand Down

0 comments on commit 9ec8b25

Please sign in to comment.