aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e')
-rw-r--r--paludis/repositories/e/e_installed_repository.cc2
-rw-r--r--paludis/repositories/e/e_installed_repository.hh2
-rw-r--r--paludis/repositories/e/e_repository.cc2
-rw-r--r--paludis/repositories/e/e_repository.hh2
4 files changed, 4 insertions, 4 deletions
diff --git a/paludis/repositories/e/e_installed_repository.cc b/paludis/repositories/e/e_installed_repository.cc
index 7d0227cf4..685d5c1a6 100644
--- a/paludis/repositories/e/e_installed_repository.cc
+++ b/paludis/repositories/e/e_installed_repository.cc
@@ -149,7 +149,7 @@ EInstalledRepository::want_pre_post_phases() const
}
HookResult
-EInstalledRepository::perform_hook(const Hook & hook) const
+EInstalledRepository::perform_hook(const Hook & hook)
{
Context context("When performing hook '" + stringify(hook.name()) + "' for repository '"
+ stringify(name()) + "':");
diff --git a/paludis/repositories/e/e_installed_repository.hh b/paludis/repositories/e/e_installed_repository.hh
index 76427b09d..de411df96 100644
--- a/paludis/repositories/e/e_installed_repository.hh
+++ b/paludis/repositories/e/e_installed_repository.hh
@@ -79,7 +79,7 @@ namespace paludis
virtual bool some_ids_might_support_action(const SupportsActionTestBase &) const;
- virtual HookResult perform_hook(const Hook & hook) const
+ HookResult perform_hook(const Hook & hook)
PALUDIS_ATTRIBUTE((warn_unused_result));
///\name For use by EInstalledRepositoryID
diff --git a/paludis/repositories/e/e_repository.cc b/paludis/repositories/e/e_repository.cc
index 146a562b4..1efae14d1 100644
--- a/paludis/repositories/e/e_repository.cc
+++ b/paludis/repositories/e/e_repository.cc
@@ -1067,7 +1067,7 @@ ERepository::merge(const MergeParams & p)
}
HookResult
-ERepository::perform_hook(const Hook & hook) const
+ERepository::perform_hook(const Hook & hook)
{
Context context("When performing hook '" + stringify(hook.name()) + "' for repository '"
+ stringify(name()) + "':");
diff --git a/paludis/repositories/e/e_repository.hh b/paludis/repositories/e/e_repository.hh
index 39951f42e..7f5aeb359 100644
--- a/paludis/repositories/e/e_repository.hh
+++ b/paludis/repositories/e/e_repository.hh
@@ -184,7 +184,7 @@ namespace paludis
///\}
- HookResult perform_hook(const Hook &) const
+ HookResult perform_hook(const Hook &)
PALUDIS_ATTRIBUTE((warn_unused_result));
virtual std::tr1::shared_ptr<const CategoryNamePartSet> unimportant_category_names() const;