From 15ce9aabc54080869e1eb0b1f7ebd91b84645b1d Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Fri, 31 Jul 2015 16:52:59 -0700 Subject: [PATCH] don't assert on moved CC --- libraries/networking/src/udt/Connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/networking/src/udt/Connection.cpp b/libraries/networking/src/udt/Connection.cpp index 8b16e8987f..a2a8942508 100644 --- a/libraries/networking/src/udt/Connection.cpp +++ b/libraries/networking/src/udt/Connection.cpp @@ -32,7 +32,7 @@ Connection::Connection(Socket* parentSocket, HifiSockAddr destination, unique_pt { Q_ASSERT_X(socket, "Connection::Connection", "Must be called with a valid Socket*"); - Q_ASSERT_X(congestionControl, "Connection::Connection", "Must be called with a valid CongestionControl object"); + Q_ASSERT_X(_congestionControl, "Connection::Connection", "Must be called with a valid CongestionControl object"); congestionControl->init(); // setup default SYN, RTT and RTT Variance based on the SYN interval in CongestionControl object