aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-04 08:53:01 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-04 08:53:01 +0100
commit24abae91fd231c1c4d64bf2819f7322b822d5206 (patch)
tree6d2f35fd82c9ad18877292b61407fc26957a440f
parentc4bf825943d9999192931bca740a603dfb5b0ce4 (diff)
downloadpaludis-24abae91fd231c1c4d64bf2819f7322b822d5206.tar.gz
paludis-24abae91fd231c1c4d64bf2819f7322b822d5206.tar.xz
Be consistent with const
-rw-r--r--paludis/dep_spec.cc2
-rw-r--r--paludis/dep_spec.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/paludis/dep_spec.cc b/paludis/dep_spec.cc
index 25b60a1..b2e48f8 100644
--- a/paludis/dep_spec.cc
+++ b/paludis/dep_spec.cc
@@ -624,7 +624,7 @@ PackageDepSpec::_as_string() const
return _imp->data->as_string();
}
-std::shared_ptr<const PackageDepSpecData>
+const std::shared_ptr<const PackageDepSpecData>
PackageDepSpec::data() const
{
return _imp->data;
diff --git a/paludis/dep_spec.hh b/paludis/dep_spec.hh
index 1c97f9e..f9b000d 100644
--- a/paludis/dep_spec.hh
+++ b/paludis/dep_spec.hh
@@ -417,7 +417,7 @@ namespace paludis
/**
* Access to our data.
*/
- std::shared_ptr<const PackageDepSpecData> data() const;
+ const std::shared_ptr<const PackageDepSpecData> data() const;
};
/**