aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories')
-rw-r--r--paludis/repositories/e/e_choice_value.cc7
-rw-r--r--paludis/repositories/fake/fake_package_id.cc5
2 files changed, 12 insertions, 0 deletions
diff --git a/paludis/repositories/e/e_choice_value.cc b/paludis/repositories/e/e_choice_value.cc
index 4e67916f4..8252b3474 100644
--- a/paludis/repositories/e/e_choice_value.cc
+++ b/paludis/repositories/e/e_choice_value.cc
@@ -47,6 +47,7 @@ namespace
ChoiceOrigin origin() const;
const std::string parameter() const PALUDIS_ATTRIBUTE((warn_unused_result));
const std::shared_ptr<const PermittedChoiceValueParameterValues> permitted_parameter_values() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool presumed() const PALUDIS_ATTRIBUTE((warn_unused_result));
};
}
@@ -109,6 +110,12 @@ EChoiceValue::permitted_parameter_values() const
return make_null_shared_ptr();
}
+bool
+EChoiceValue::presumed() const
+{
+ return false;
+}
+
namespace paludis
{
template <>
diff --git a/paludis/repositories/fake/fake_package_id.cc b/paludis/repositories/fake/fake_package_id.cc
index 37d0c58a9..6cf0012d3 100644
--- a/paludis/repositories/fake/fake_package_id.cc
+++ b/paludis/repositories/fake/fake_package_id.cc
@@ -471,6 +471,11 @@ namespace
{
return make_null_shared_ptr();
}
+
+ virtual bool presumed() const PALUDIS_ATTRIBUTE((warn_unused_result))
+ {
+ return false;
+ }
};
}