From c8d844f029894bd4c1a74cd248252d14c80c26ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Ag=C3=BCero?= Date: Wed, 5 Jun 2024 14:33:30 +0200 Subject: [PATCH] Update src/SubscribeOptions.cc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Addisu Z. Taddese Signed-off-by: Carlos Agüero --- src/SubscribeOptions.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/SubscribeOptions.cc b/src/SubscribeOptions.cc index 761402b0..0f3cda76 100644 --- a/src/SubscribeOptions.cc +++ b/src/SubscribeOptions.cc @@ -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()); } //////////////////////////////////////////////////