aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/destination.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/resolver/destination.cc')
-rw-r--r--paludis/resolver/destination.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/paludis/resolver/destination.cc b/paludis/resolver/destination.cc
index 90b6eae..9d47744 100644
--- a/paludis/resolver/destination.cc
+++ b/paludis/resolver/destination.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2009 Ciaran McCreesh
+ * Copyright (c) 2009, 2010 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
@@ -41,8 +41,8 @@ Destination::deserialise(Deserialisation & d)
return make_shared_ptr(new Destination(make_named_values<Destination>(
- value_for<n::replacing>(replacing),
- value_for<n::repository>(RepositoryName(v.member<std::string>("repository")))
+ n::replacing() = replacing,
+ n::repository() = RepositoryName(v.member<std::string>("repository"))
)));
}