From 505581be08d4c58d82f64e764899ff2e78e0f53a Mon Sep 17 00:00:00 2001 From: Deyan Zhekov Date: Mon, 25 Sep 2023 16:31:23 +0300 Subject: [PATCH] =?UTF-8?q?167:=20Fix=20for=20Client=E2=80=99s=20implement?= =?UTF-8?q?ation=20of=20setNetwork()=20method.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Deyan Zhekov --- sdk/main/src/Client.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/main/src/Client.cc b/sdk/main/src/Client.cc index 58c79c1de..a8b52a03d 100644 --- a/sdk/main/src/Client.cc +++ b/sdk/main/src/Client.cc @@ -209,7 +209,7 @@ void Client::close() //----- Client& Client::setNetwork(const std::unordered_map& networkMap) { - mImpl->mNetwork = internal::Network::forNetwork(networkMap); + mImpl->mNetwork = std::make_shared(internal::Network::forNetwork(networkMap)); mImpl->mMirrorNetwork = nullptr; return *this; }