aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/installables.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2023-01-10 14:57:35 +0100
committerGitHub <noreply@github.com>2023-01-10 14:57:35 +0100
commit1123c42f9016c5df7ade9d917d5e1900af6688e8 (patch)
tree1f7a802a8174eef8226466cb070283797d8ec847 /src/libcmd/installables.cc
parentb4dc68f0be07edc3511a4ef276de1cb4e13a676d (diff)
Apply suggestions from code review
Co-authored-by: Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com>
Diffstat (limited to 'src/libcmd/installables.cc')
-rw-r--r--src/libcmd/installables.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcmd/installables.cc b/src/libcmd/installables.cc
index d7fdbb13d..409afd762 100644
--- a/src/libcmd/installables.cc
+++ b/src/libcmd/installables.cc
@@ -424,7 +424,7 @@ struct InstallableStorePath : Installable
DerivedPathsWithInfo toDerivedPaths() override
{
- return {{req}};
+ return {{.path = req, .info = {} }};
}
std::optional<StorePath> getStorePath() override