aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-01-24 12:28:19 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2008-01-24 12:28:19 +0000
commit1390c5a0f545933a6e2591aa769a8241d302373c (patch)
tree9e3e3046105cb33614cb0f2e5b7ade55f95fc86a
parent9052338cc5d7d99d87286e006157b8ea9cae6745 (diff)
downloadpaludis-1390c5a0f545933a6e2591aa769a8241d302373c.tar.gz
paludis-1390c5a0f545933a6e2591aa769a8241d302373c.tar.xz
Fix GCC 4.3 warning.
-rw-r--r--paludis/dep_spec.cc2
-rw-r--r--paludis/dep_spec.hh2
-rw-r--r--paludis/range_rewriter.cc2
-rw-r--r--paludis/repositories/cran/package_dep_spec.cc2
4 files changed, 4 insertions, 4 deletions
diff --git a/paludis/dep_spec.cc b/paludis/dep_spec.cc
index 7735871..7295077 100644
--- a/paludis/dep_spec.cc
+++ b/paludis/dep_spec.cc
@@ -963,7 +963,7 @@ namespace
return version_requirements;
}
- virtual const VersionRequirementsMode version_requirements_mode() const
+ virtual VersionRequirementsMode version_requirements_mode() const
{
return version_requirements_mode_v;
}
diff --git a/paludis/dep_spec.hh b/paludis/dep_spec.hh
index 3c041db..3834951 100644
--- a/paludis/dep_spec.hh
+++ b/paludis/dep_spec.hh
@@ -426,7 +426,7 @@ namespace paludis
/**
* Fetch the version requirements mode.
*/
- virtual const VersionRequirementsMode version_requirements_mode() const = 0;
+ virtual VersionRequirementsMode version_requirements_mode() const = 0;
/**
* Fetch the slot name (may be a zero pointer).
diff --git a/paludis/range_rewriter.cc b/paludis/range_rewriter.cc
index 9f99d93..e3c57c1 100644
--- a/paludis/range_rewriter.cc
+++ b/paludis/range_rewriter.cc
@@ -111,7 +111,7 @@ namespace
return version_requirements;
}
- virtual const VersionRequirementsMode version_requirements_mode() const
+ virtual VersionRequirementsMode version_requirements_mode() const
{
return version_requirements_mode_v;
}
diff --git a/paludis/repositories/cran/package_dep_spec.cc b/paludis/repositories/cran/package_dep_spec.cc
index 09b4c3c..b1e7138 100644
--- a/paludis/repositories/cran/package_dep_spec.cc
+++ b/paludis/repositories/cran/package_dep_spec.cc
@@ -85,7 +85,7 @@ namespace
return version_requirements_v;
}
- virtual const VersionRequirementsMode version_requirements_mode() const
+ virtual VersionRequirementsMode version_requirements_mode() const
{
return vr_and;
}