summaryrefslogtreecommitdiffstats
path: root/src/Bindings/LuaUDPEndpoint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Bindings/LuaUDPEndpoint.cpp')
-rw-r--r--src/Bindings/LuaUDPEndpoint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/LuaUDPEndpoint.cpp b/src/Bindings/LuaUDPEndpoint.cpp
index 779efcbce..c98be13d3 100644
--- a/src/Bindings/LuaUDPEndpoint.cpp
+++ b/src/Bindings/LuaUDPEndpoint.cpp
@@ -40,7 +40,7 @@ bool cLuaUDPEndpoint::Open(UInt16 a_Port, cLuaUDPEndpointPtr a_Self)
ASSERT(m_Self == nullptr); // Must not be opened yet
ASSERT(m_Endpoint == nullptr);
- m_Self = a_Self;
+ m_Self = std::move(a_Self);
m_Endpoint = cNetwork::CreateUDPEndpoint(a_Port, *this);
return m_Endpoint->IsOpen();
}