Skip to content

Commit

Permalink
Remove unnecessary includes (#487)
Browse files Browse the repository at this point in the history
* Removed unnecessary includes on participant.cpp

Also avoid copy of ParticipantAttributes

Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
  • Loading branch information
MiguelCompany authored Nov 18, 2020
1 parent 47be8ba commit c624e5b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions rmw_fastrtps_shared_cpp/src/participant.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,7 @@
#include "fastrtps/participant/Participant.h"
#include "fastrtps/publisher/Publisher.h"
#include "fastrtps/publisher/PublisherListener.h"
#include "fastrtps/rtps/RTPSDomain.h"
#include "fastrtps/rtps/common/Locator.h"
#include "fastrtps/rtps/builtin/discovery/endpoint/EDPSimple.h"
#include "fastrtps/rtps/reader/ReaderListener.h"
#include "fastrtps/rtps/reader/RTPSReader.h"
#include "fastrtps/rtps/reader/StatefulReader.h"
#include "fastrtps/subscriber/Subscriber.h"
#include "fastrtps/subscriber/SubscriberListener.h"
#include "fastrtps/subscriber/SampleInfo.h"
Expand All @@ -49,7 +44,6 @@ using IPLocator = eprosima::fastrtps::rtps::IPLocator;
using Locator_t = eprosima::fastrtps::rtps::Locator_t;
using Participant = eprosima::fastrtps::Participant;
using ParticipantAttributes = eprosima::fastrtps::ParticipantAttributes;
using StatefulReader = eprosima::fastrtps::rtps::StatefulReader;

#if HAVE_SECURITY
static
Expand Down Expand Up @@ -92,7 +86,7 @@ static
CustomParticipantInfo *
__create_participant(
const char * identifier,
ParticipantAttributes participantAttrs,
const ParticipantAttributes & participantAttrs,
bool leave_middleware_default_qos,
publishing_mode_t publishing_mode,
rmw_dds_common::Context * common_context)
Expand Down

0 comments on commit c624e5b

Please sign in to comment.