aboutsummaryrefslogtreecommitdiff
path: root/paludis/tasks/install_task.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/tasks/install_task.cc')
-rw-r--r--paludis/tasks/install_task.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/tasks/install_task.cc b/paludis/tasks/install_task.cc
index f5f4034..4d5de21 100644
--- a/paludis/tasks/install_task.cc
+++ b/paludis/tasks/install_task.cc
@@ -111,7 +111,7 @@ InstallTask::add_target(const std::string & target)
throw HadBothPackageAndSetTargets();
_imp->had_set_targets = true;
- _imp->dep_list.options.target_type = dl_target_set;
+ _imp->dep_list.options()->target_type = dl_target_set;
_imp->targets->add_child(s);
done = true;
}
@@ -126,7 +126,7 @@ InstallTask::add_target(const std::string & target)
throw HadBothPackageAndSetTargets();
_imp->had_package_targets = true;
- _imp->dep_list.options.target_type = dl_target_package;
+ _imp->dep_list.options()->target_type = dl_target_package;
if (std::string::npos != target.find('/'))
_imp->targets->add_child(PortageDepParser::parse(target));