aboutsummaryrefslogtreecommitdiff
path: root/paludis/elike_slot_requirement.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/elike_slot_requirement.cc')
-rw-r--r--paludis/elike_slot_requirement.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/paludis/elike_slot_requirement.cc b/paludis/elike_slot_requirement.cc
index ea52fe434..04b2f2194 100644
--- a/paludis/elike_slot_requirement.cc
+++ b/paludis/elike_slot_requirement.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2008 Ciaran McCreesh
+ * Copyright (c) 2008, 2011 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
@@ -40,6 +40,12 @@ ELikeSlotExactRequirement::slot() const
return _s;
}
+bool
+ELikeSlotExactRequirement::from_any_locked() const
+{
+ return _e;
+}
+
const std::string
ELikeSlotAnyUnlockedRequirement::as_string() const
{