From fd19f4435181001ddd0edc1413efc9814b4a161b Mon Sep 17 00:00:00 2001 From: elianalf <62831776+elianalf@users.noreply.github.com> Date: Mon, 17 Jun 2024 14:10:32 +0200 Subject: [PATCH] Refs #20933: Applu suggestions Signed-off-by: elianalf <62831776+elianalf@users.noreply.github.com> --- .../rtps/builtin/BuiltinDataSerializationTests.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/unittest/rtps/builtin/BuiltinDataSerializationTests.cpp b/test/unittest/rtps/builtin/BuiltinDataSerializationTests.cpp index 1654a6d8918..22533b8cd24 100644 --- a/test/unittest/rtps/builtin/BuiltinDataSerializationTests.cpp +++ b/test/unittest/rtps/builtin/BuiltinDataSerializationTests.cpp @@ -143,7 +143,7 @@ TEST(BuiltinDataSerializationTests, msg_without_datasharing) msg.length = msg.max_size; ReaderProxyData out(max_unicast_locators, max_multicast_locators); - out.readFromCDRMessage(&msg, network, false, true); + out.readFromCDRMessage(&msg, network, false); ASSERT_EQ(out.m_qos.data_sharing.kind(), OFF); } @@ -160,7 +160,7 @@ TEST(BuiltinDataSerializationTests, msg_without_datasharing) msg.length = msg.max_size; ReaderProxyData out(max_unicast_locators, max_multicast_locators); - out.readFromCDRMessage(&msg, network, false, true); + out.readFromCDRMessage(&msg, network, false); ASSERT_EQ(out.m_qos.data_sharing.kind(), OFF); } } @@ -183,7 +183,7 @@ TEST(BuiltinDataSerializationTests, msg_with_datasharing) msg.length = msg.max_size; ReaderProxyData out(max_unicast_locators, max_multicast_locators); - out.readFromCDRMessage(&msg, network, false, true); + out.readFromCDRMessage(&msg, network, false); ASSERT_EQ(out.m_qos.data_sharing.kind(), ON); } @@ -203,7 +203,7 @@ TEST(BuiltinDataSerializationTests, msg_with_datasharing) msg.length = msg.max_size; ReaderProxyData out(max_unicast_locators, max_multicast_locators); - out.readFromCDRMessage(&msg, network, false, true); + out.readFromCDRMessage(&msg, network, false); ASSERT_EQ(out.m_qos.data_sharing.kind(), ON); } }