Skip to content

Commit

Permalink
Operators are inherited
Browse files Browse the repository at this point in the history
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 <ikerluengo@eprosima.com>
  • Loading branch information
IkerLuengo committed Sep 7, 2021
1 parent c97053e commit 10c3924
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/fastdds/dds/topic/TypeSupport.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ class TypeSupport : public std::shared_ptr<fastdds::dds::TopicDataType>
using ReturnCode_t = eprosima::fastrtps::types::ReturnCode_t;

using Base = std::shared_ptr<fastdds::dds::TopicDataType>;
using Base::operator ->;
using Base::operator *;
using Base::operator bool;

/**
* @brief Constructor
Expand Down

0 comments on commit 10c3924

Please sign in to comment.