From 67ef2a52c3cdcc37538d77711bbcea2f0e5655e5 Mon Sep 17 00:00:00 2001 From: Matteo Martincigh Date: Thu, 10 Oct 2019 13:29:02 +0100 Subject: IVGCVSW-3964 Change the type held by the Packet class to unsigned char * Updated the Packet class * Updated the pertinent code accordingly Signed-off-by: Matteo Martincigh Change-Id: I73eab5b1ead67a610cd17fd33f8a74f764ad8cc4 --- src/profiling/test/ProfilingTests.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/profiling/test/ProfilingTests.hpp') diff --git a/src/profiling/test/ProfilingTests.hpp b/src/profiling/test/ProfilingTests.hpp index e1686162db..4d2f974344 100644 --- a/src/profiling/test/ProfilingTests.hpp +++ b/src/profiling/test/ProfilingTests.hpp @@ -71,8 +71,7 @@ public: std::this_thread::sleep_for(std::chrono::milliseconds(timeout)); // Return connection acknowledged packet - std::unique_ptr packetData; - return Packet(65536, 0, packetData); + return Packet(65536); } }; @@ -94,8 +93,7 @@ public: } // Return connection acknowledged packet after three timeouts - std::unique_ptr packetData; - return Packet(65536, 0, packetData); + return Packet(65536); } private: -- cgit v1.2.1