From 3ae4011097aab41aa9518be2883f5c0ccb1f3997 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=8B=D1=87=D0=BA=D0=BE=D0=B2=20=D0=90=D0=BD=D0=B4?= =?UTF-8?q?=D1=80=D0=B5=D0=B9?= Date: Tue, 24 Mar 2020 14:14:22 +0000 Subject: [PATCH] git-svn-id: svn://db.shs.com.ru/pip@972 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5 --- src_main/core/piobject.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src_main/core/piobject.h b/src_main/core/piobject.h index ae8b4025..6f7ee3ac 100755 --- a/src_main/core/piobject.h +++ b/src_main/core/piobject.h @@ -623,7 +623,7 @@ public: // / Raise events static void raiseEvent(PIObject * sender, const uint eventID) { for (int j = 0; j < sender->connections.size_s(); ++j) { - __Connection & i(sender->connections[j]); + __Connection i(sender->connections[j]); if (i.eventID != eventID) continue; #ifdef PIP_CXX11_SUPPORT if (i.functor) { @@ -649,7 +649,7 @@ public: template static void raiseEvent(PIObject * sender, const uint eventID, const T0 & v0 = T0()) { for (int j = 0; j < sender->connections.size_s(); ++j) { - __Connection & i(sender->connections[j]); + __Connection i(sender->connections[j]); if (i.eventID != eventID) continue; #ifdef PIP_CXX11_SUPPORT if (i.functor) { @@ -677,7 +677,7 @@ public: template static void raiseEvent(PIObject * sender, const uint eventID, const T0 & v0 = T0(), const T1 & v1 = T1()) { for (int j = 0; j < sender->connections.size_s(); ++j) { - __Connection & i(sender->connections[j]); + __Connection i(sender->connections[j]); if (i.eventID != eventID) continue; #ifdef PIP_CXX11_SUPPORT if (i.functor) { @@ -709,7 +709,7 @@ public: template static void raiseEvent(PIObject * sender, const uint eventID, const T0 & v0 = T0(), const T1 & v1 = T1(), const T2 & v2 = T2()) { for (int j = 0; j < sender->connections.size_s(); ++j) { - __Connection & i(sender->connections[j]); + __Connection i(sender->connections[j]); if (i.eventID != eventID) continue; #ifdef PIP_CXX11_SUPPORT if (i.functor) { @@ -743,7 +743,7 @@ public: template static void raiseEvent(PIObject * sender, const uint eventID, const T0 & v0 = T0(), const T1 & v1 = T1(), const T2 & v2 = T2(), const T3 & v3 = T3()) { for (int j = 0; j < sender->connections.size_s(); ++j) { - __Connection & i(sender->connections[j]); + __Connection i(sender->connections[j]); if (i.eventID != eventID) continue; #ifdef PIP_CXX11_SUPPORT if (i.functor) {