aboutsummaryrefslogtreecommitdiff
path: root/paludis/environments/no_config
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/environments/no_config')
-rw-r--r--paludis/environments/no_config/no_config_environment.cc8
-rw-r--r--paludis/environments/no_config/no_config_environment.hh5
2 files changed, 13 insertions, 0 deletions
diff --git a/paludis/environments/no_config/no_config_environment.cc b/paludis/environments/no_config/no_config_environment.cc
index e2d8ff8ca..73f37d2b3 100644
--- a/paludis/environments/no_config/no_config_environment.cc
+++ b/paludis/environments/no_config/no_config_environment.cc
@@ -639,3 +639,11 @@ NoConfigEnvironment::update_config_files_for_package_move(const PackageDepSpec &
{
}
+Tribool
+NoConfigEnvironment::interest_in_suggestion(
+ const std::shared_ptr<const PackageID> &,
+ const PackageDepSpec &) const
+{
+ return indeterminate;
+}
+
diff --git a/paludis/environments/no_config/no_config_environment.hh b/paludis/environments/no_config/no_config_environment.hh
index 54193754f..1ccb45ac6 100644
--- a/paludis/environments/no_config/no_config_environment.hh
+++ b/paludis/environments/no_config/no_config_environment.hh
@@ -163,6 +163,11 @@ namespace paludis
) const
PALUDIS_ATTRIBUTE((warn_unused_result));
+ virtual Tribool interest_in_suggestion(
+ const std::shared_ptr<const PackageID> & from_id,
+ const PackageDepSpec & spec) const
+ PALUDIS_ATTRIBUTE((warn_unused_result));
+
virtual std::shared_ptr<PackageDatabase> package_database()
PALUDIS_ATTRIBUTE((warn_unused_result));