Skip to content

Commit

Permalink
Fix the doc of 'dds::sub::detail::DataReader<T>::init'
Browse files Browse the repository at this point in the history
  • Loading branch information
t0ny-peng committed Aug 22, 2021
1 parent 452bb2e commit 31c9de6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ddscxx/include/dds/sub/detail/TDataReaderImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ dds::sub::detail::DataReader<T>::init(ObjectDelegate::weak_ref_type weak_ref)
this->set_weak_ref(weak_ref);
/* Add weak_ref to the map of entities */
this->add_to_entity_map(weak_ref);
/* Register writer at publisher. */
/* Add the datareader to the datareader set of the subscriber */
this->sub_.delegate()->add_datareader(*this);

// Because listeners are added after reader is created (which is in enabled state, because
Expand Down

0 comments on commit 31c9de6

Please sign in to comment.