From 6133c94191474e358f8c0688c8f9d3f5cc323836 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Thu, 29 Feb 2024 17:08:38 -0500 Subject: [PATCH] cpp-common/bt2: move `SelfSpecificComponent` to `internal` namespace Change-Id: Icc3536de99be1e0de165e5ec990cffe73cf5be77 Signed-off-by: Simon Marchi Reviewed-on: https://review.lttng.org/c/babeltrace/+/11961 Reviewed-by: Philippe Proulx Tested-by: jenkins --- src/cpp-common/bt2/self-component-port.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/cpp-common/bt2/self-component-port.hpp b/src/cpp-common/bt2/self-component-port.hpp index 2cd056af..e2bbe807 100644 --- a/src/cpp-common/bt2/self-component-port.hpp +++ b/src/cpp-common/bt2/self-component-port.hpp @@ -128,6 +128,8 @@ public: } }; +namespace internal { + template class SelfSpecificComponent : public BorrowedObject { @@ -198,8 +200,6 @@ private: } }; -namespace internal { - template struct SelfComponentPortsSpec; @@ -326,7 +326,7 @@ public: Port back() const noexcept; }; -class SelfSourceComponent final : public SelfSpecificComponent +class SelfSourceComponent final : public internal::SelfSpecificComponent { public: using OutputPorts = SelfComponentPorts +class SelfFilterComponent final : public internal::SelfSpecificComponent { public: using InputPorts = SelfComponentPorts +class SelfSinkComponent final : public internal::SelfSpecificComponent { public: using InputPorts = SelfComponentPorts