aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-13 12:45:52 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-13 12:45:52 +0000
commitb2eb5ab5752e96f60632363b156cfd3fa9f58cac (patch)
treef2d5258d295124669664a625e133f1f67268f181
parente64efbd708992b18a90998b923c735a22d337d62 (diff)
downloadpaludis-b2eb5ab5752e96f60632363b156cfd3fa9f58cac.tar.gz
paludis-b2eb5ab5752e96f60632363b156cfd3fa9f58cac.tar.xz
More type qualifiers ignored on function return types
-rw-r--r--paludis/action.cc2
-rw-r--r--paludis/action.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/paludis/action.cc b/paludis/action.cc
index e02b4e8..a67581a 100644
--- a/paludis/action.cc
+++ b/paludis/action.cc
@@ -145,7 +145,7 @@ PretendAction::~PretendAction()
{
}
-const bool
+bool
PretendAction::failed() const
{
return _imp->failed;
diff --git a/paludis/action.hh b/paludis/action.hh
index 7ffef31..6e074e0 100644
--- a/paludis/action.hh
+++ b/paludis/action.hh
@@ -225,7 +225,7 @@ namespace paludis
///\}
/// Did our pretend phase fail?
- const bool failed() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool failed() const PALUDIS_ATTRIBUTE((warn_unused_result));
/// Mark the action as failed.
void set_failed();