aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_fix_linkage.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/cave/cmd_fix_linkage.cc')
-rw-r--r--src/clients/cave/cmd_fix_linkage.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clients/cave/cmd_fix_linkage.cc b/src/clients/cave/cmd_fix_linkage.cc
index dbe54ef..a8cf3bc 100644
--- a/src/clients/cave/cmd_fix_linkage.cc
+++ b/src/clients/cave/cmd_fix_linkage.cc
@@ -211,8 +211,8 @@ FixLinkageCommand::run(
if (cmdline.a_exact.specified())
part_spec.version_requirement(make_named_values<VersionRequirement>(
- value_for<n::version_operator>(vo_equal),
- value_for<n::version_spec>((*pkg_it)->version())));
+ n::version_operator() = vo_equal,
+ n::version_spec() = (*pkg_it)->version()));
targets->push_back(stringify(PackageDepSpec(part_spec)));
}