aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/unavailable
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/unavailable')
-rw-r--r--paludis/repositories/unavailable/unavailable_package_id.cc7
-rw-r--r--paludis/repositories/unavailable/unavailable_package_id.hh2
-rw-r--r--paludis/repositories/unavailable/unavailable_repository_id.cc7
-rw-r--r--paludis/repositories/unavailable/unavailable_repository_id.hh2
4 files changed, 18 insertions, 0 deletions
diff --git a/paludis/repositories/unavailable/unavailable_package_id.cc b/paludis/repositories/unavailable/unavailable_package_id.cc
index fec87c479..6552c905e 100644
--- a/paludis/repositories/unavailable/unavailable_package_id.cc
+++ b/paludis/repositories/unavailable/unavailable_package_id.cc
@@ -300,7 +300,14 @@ UnavailablePackageID::slot_key() const
return _imp->slot_key;
}
+const std::shared_ptr<const Contents>
+UnavailablePackageID::contents() const
+{
+ return make_null_shared_ptr();
+}
+
namespace paludis
{
template class Pimp<UnavailablePackageID>;
}
+
diff --git a/paludis/repositories/unavailable/unavailable_package_id.hh b/paludis/repositories/unavailable/unavailable_package_id.hh
index 06cf4c9e2..c99c0eea5 100644
--- a/paludis/repositories/unavailable/unavailable_package_id.hh
+++ b/paludis/repositories/unavailable/unavailable_package_id.hh
@@ -110,6 +110,8 @@ namespace paludis
PALUDIS_ATTRIBUTE((warn_unused_result));
std::size_t extra_hash_value() const
PALUDIS_ATTRIBUTE((warn_unused_result));
+
+ virtual const std::shared_ptr<const Contents> contents() const;
};
}
}
diff --git a/paludis/repositories/unavailable/unavailable_repository_id.cc b/paludis/repositories/unavailable/unavailable_repository_id.cc
index 9e054ea16..a3f0c2f19 100644
--- a/paludis/repositories/unavailable/unavailable_repository_id.cc
+++ b/paludis/repositories/unavailable/unavailable_repository_id.cc
@@ -409,7 +409,14 @@ UnavailableRepositoryID::slot_key() const
return make_null_shared_ptr();
}
+const std::shared_ptr<const Contents>
+UnavailableRepositoryID::contents() const
+{
+ return make_null_shared_ptr();
+}
+
namespace paludis
{
template class Pimp<UnavailableRepositoryID>;
}
+
diff --git a/paludis/repositories/unavailable/unavailable_repository_id.hh b/paludis/repositories/unavailable/unavailable_repository_id.hh
index b958a14fa..7791d8341 100644
--- a/paludis/repositories/unavailable/unavailable_repository_id.hh
+++ b/paludis/repositories/unavailable/unavailable_repository_id.hh
@@ -110,6 +110,8 @@ namespace paludis
PALUDIS_ATTRIBUTE((warn_unused_result));
std::size_t extra_hash_value() const
PALUDIS_ATTRIBUTE((warn_unused_result));
+
+ virtual const std::shared_ptr<const Contents> contents() const;
};
}
}