From 10c3924b1e20e57b25b0c7f216bf497fbe055c8d Mon Sep 17 00:00:00 2001 From: Iker Luengo Date: Wed, 1 Sep 2021 10:23:46 +0200 Subject: [PATCH] Operators are inherited Although these lines are legal, these 'using' structures get a parsing error in SWIG. And since the operators are already inherited from the base class, they are redundant, and can be removed to simplify our lives in the binding process Signed-off-by: Iker Luengo --- include/fastdds/dds/topic/TypeSupport.hpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/fastdds/dds/topic/TypeSupport.hpp b/include/fastdds/dds/topic/TypeSupport.hpp index 12bfd6cf593..7dc8fb9ab9c 100644 --- a/include/fastdds/dds/topic/TypeSupport.hpp +++ b/include/fastdds/dds/topic/TypeSupport.hpp @@ -54,9 +54,6 @@ class TypeSupport : public std::shared_ptr using ReturnCode_t = eprosima::fastrtps::types::ReturnCode_t; using Base = std::shared_ptr; - using Base::operator ->; - using Base::operator *; - using Base::operator bool; /** * @brief Constructor