aboutsummaryrefslogtreecommitdiff
path: root/paludis/action.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-02-02 16:27:55 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-02-02 16:27:55 +0000
commita5d40f88ff2e5452adb6e1b6f1d73b0bac7efde0 (patch)
tree91450c8d11ba03ebfb0c8bcda82e23fa513778c2 /paludis/action.cc
parentdb6f0b1425ee62088bd290b3ae684ea2d51ff1ad (diff)
downloadpaludis-a5d40f88ff2e5452adb6e1b6f1d73b0bac7efde0.tar.gz
paludis-a5d40f88ff2e5452adb6e1b6f1d73b0bac7efde0.tar.xz
Start switching over from sr to kc.
Diffstat (limited to 'paludis/action.cc')
-rw-r--r--paludis/action.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/paludis/action.cc b/paludis/action.cc
index a6b955aa1..849eb39bc 100644
--- a/paludis/action.cc
+++ b/paludis/action.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2007 Ciaran McCreesh
+ * Copyright (c) 2007, 2008 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -23,11 +23,11 @@
#include <paludis/util/exception.hh>
#include <paludis/util/stringify.hh>
#include <paludis/util/sequence-impl.hh>
+#include <paludis/util/kc.hh>
using namespace paludis;
#include <paludis/action-se.cc>
-#include <paludis/action-sr.cc>
template class AcceptInterfaceVisitsThis<ActionVisitorTypes, InstallAction>;
template class AcceptInterfaceVisitsThis<ActionVisitorTypes, ConfigAction>;
@@ -182,8 +182,8 @@ namespace
void visit(const InstallAction & a)
{
s << "install to ";
- if (a.options.destination)
- s << a.options.destination->name();
+ if (a.options[k::destination()])
+ s << a.options[k::destination()]->name();
else
s << "nowhere";
}