aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 25b60a1ab..b2e48f865 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 1c97f9ef0..f9b000dbc 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;
};
/**