1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 08:47:17 +01:00

Remove the move semantics from signal emission functions.

This commit is contained in:
Sandu Liviu Catalin 2015-10-12 00:24:31 +03:00
parent d68a6e5c73
commit cd512e1335

View File

@ -240,7 +240,7 @@ public:
} }
// -------------------------------------------------------------------------------------------- // --------------------------------------------------------------------------------------------
void Emit(Args &&... args) void Emit(Args &... args)
{ {
for (Node * node = m_Nodes.m_Head; node; node = node->m_Next) for (Node * node = m_Nodes.m_Head; node; node = node->m_Next)
{ {
@ -249,7 +249,7 @@ public:
} }
// -------------------------------------------------------------------------------------------- // --------------------------------------------------------------------------------------------
template <typename T> void Query(T && collecter, Args &&... args) template <typename T> void Query(T && collecter, Args &... args)
{ {
for (Node * node = m_Nodes.m_Head; node; node = node->m_Next) for (Node * node = m_Nodes.m_Head; node; node = node->m_Next)
{ {
@ -258,7 +258,7 @@ public:
} }
// -------------------------------------------------------------------------------------------- // --------------------------------------------------------------------------------------------
void operator () (Args &&... args) void operator () (Args &... args)
{ {
for (Node * node = m_Nodes.m_Head; node; node = node->m_Next) for (Node * node = m_Nodes.m_Head; node; node = node->m_Next)
{ {