There will ultimately be many Operation types that need to use the
PGPeeringPipeline, let's not enumerate them as friends.
Signed-off-by: Samuel Just <sjust@redhat.com>
class PG;
class BackfillRecovery;
- class PGPeeringPipeline {
+ struct PGPeeringPipeline {
struct AwaitMap : OrderedExclusivePhaseT<AwaitMap> {
static constexpr auto type_name = "PeeringEvent::PGPipeline::await_map";
} await_map;
struct Process : OrderedExclusivePhaseT<Process> {
static constexpr auto type_name = "PeeringEvent::PGPipeline::process";
} process;
- template <class T>
- friend class PeeringEvent;
- friend class LocalPeeringEvent;
- friend class RemotePeeringEvent;
- friend class PGAdvanceMap;
- friend class BackfillRecovery;
};
template <class T>