aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/repository
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/repository')
-rw-r--r--paludis/repositories/repository/repository_id.cc7
-rw-r--r--paludis/repositories/repository/repository_id.hh2
2 files changed, 9 insertions, 0 deletions
diff --git a/paludis/repositories/repository/repository_id.cc b/paludis/repositories/repository/repository_id.cc
index def3dabc2..2e2789305 100644
--- a/paludis/repositories/repository/repository_id.cc
+++ b/paludis/repositories/repository/repository_id.cc
@@ -276,7 +276,14 @@ RepositoryID::slot_key() const
return make_null_shared_ptr();
}
+const std::shared_ptr<const Contents>
+RepositoryID::contents() const
+{
+ return make_null_shared_ptr();
+}
+
namespace paludis
{
template class Pimp<RepositoryID>;
}
+
diff --git a/paludis/repositories/repository/repository_id.hh b/paludis/repositories/repository/repository_id.hh
index f66a985d4..71f439310 100644
--- a/paludis/repositories/repository/repository_id.hh
+++ b/paludis/repositories/repository/repository_id.hh
@@ -96,6 +96,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;
};
}
}