From: Simon Marchi Date: Thu, 29 Feb 2024 22:08:38 +0000 (-0500) Subject: cpp-common/bt2: move `SelfSpecificComponent` to `internal` namespace X-Git-Url: https://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=6133c94191474e358f8c0688c8f9d3f5cc323836 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 --- 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