aboutsummaryrefslogtreecommitdiff
path: root/python/version_requirements.cc
diff options
context:
space:
mode:
Diffstat (limited to 'python/version_requirements.cc')
-rw-r--r--python/version_requirements.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/version_requirements.cc b/python/version_requirements.cc
index 19b092c3b..3ec32da3c 100644
--- a/python/version_requirements.cc
+++ b/python/version_requirements.cc
@@ -33,8 +33,8 @@ namespace
VersionRequirement * make_version_requirement(const VersionOperator & op, const VersionSpec & spec)
{
return new VersionRequirement(make_named_values<VersionRequirement>(
- value_for<n::version_operator>(op),
- value_for<n::version_spec>(spec)
+ n::version_operator() = op,
+ n::version_spec() = spec
));
}
}