aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/test/ProfilingTests.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiling/test/ProfilingTests.hpp')
-rw-r--r--src/profiling/test/ProfilingTests.hpp6
1 files changed, 2 insertions, 4 deletions
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<char[]> packetData;
- return Packet(65536, 0, packetData);
+ return Packet(65536);
}
};
@@ -94,8 +93,7 @@ public:
}
// Return connection acknowledged packet after three timeouts
- std::unique_ptr<char[]> packetData;
- return Packet(65536, 0, packetData);
+ return Packet(65536);
}
private: