aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_uninstall.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-09-14 17:40:39 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-09-14 18:06:37 +0100
commit7ce0a00a008983de8a8e61d33d41a4f41147db9b (patch)
treeba35068b18f5745145d0eefe02df85c0cd0aa5cc /src/clients/cave/cmd_uninstall.cc
parent2bff9772cc069fe98e281432bddd0b35c1e934e4 (diff)
downloadpaludis-7ce0a00a008983de8a8e61d33d41a4f41147db9b.tar.gz
paludis-7ce0a00a008983de8a8e61d33d41a4f41147db9b.tar.xz
Refactor to allow subslots
Diffstat (limited to 'src/clients/cave/cmd_uninstall.cc')
-rw-r--r--src/clients/cave/cmd_uninstall.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/clients/cave/cmd_uninstall.cc b/src/clients/cave/cmd_uninstall.cc
index 9d28f27f4..5f839012f 100644
--- a/src/clients/cave/cmd_uninstall.cc
+++ b/src/clients/cave/cmd_uninstall.cc
@@ -35,6 +35,7 @@
#include <paludis/environment.hh>
#include <paludis/package_id.hh>
#include <paludis/metadata_key.hh>
+#include <paludis/slot.hh>
#include <algorithm>
#include <iostream>
@@ -150,7 +151,7 @@ UninstallCommand::run(
qpns_being_changed.insert((*i)->name());
std::string target("!" + stringify((*i)->name()));
if ((*i)->slot_key())
- target.append(":" + stringify((*i)->slot_key()->parse_value()));
+ target.append(":" + stringify((*i)->slot_key()->parse_value().raw_value()));
targets->push_back(std::make_pair(target, ""));
}