Skip to content

Commit

Permalink
Update src/SubscribeOptions.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Addisu Z. Taddese <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
  • Loading branch information
caguero and azeey authored Jun 5, 2024
1 parent b04d49a commit c8d844f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/SubscribeOptions.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,8 @@ SubscribeOptions::SubscribeOptions()

//////////////////////////////////////////////////
SubscribeOptions::SubscribeOptions(const SubscribeOptions &_otherSubscribeOpts)
: dataPtr(new SubscribeOptionsPrivate())
: dataPtr(new SubscribeOptionsPrivate(*_otherSubscribeOpts.dataPtr))
{
this->SetMsgsPerSec(_otherSubscribeOpts.MsgsPerSec());
this->SetIgnoreLocalMessages(_otherSubscribeOpts.IgnoreLocalMessages());
}

//////////////////////////////////////////////////
Expand Down

0 comments on commit c8d844f

Please sign in to comment.