[Pkg-running-devel] [antpm] 23/31: antpm: improve readability
Kristof Ralovich
ralovich-guest at moszumanska.debian.org
Fri Mar 24 23:19:38 UTC 2017
This is an automated email from the git hooks/post-receive script.
ralovich-guest pushed a commit to branch master
in repository antpm.
commit 365bc3ff9fa6df0a88f5bea25072d335d72a303f
Author: RALOVICH, Kristof <tade60 at freemail.hu>
Date: Sun Mar 19 20:59:00 2017 +0100
antpm: improve readability
---
src/AntChannel.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/AntChannel.cpp b/src/AntChannel.cpp
index a46875a..12b2eb8 100644
--- a/src/AntChannel.cpp
+++ b/src/AntChannel.cpp
@@ -44,7 +44,8 @@ AntChannel::onMsg(AntMessage &m)
boost::unique_lock<boost::mutex> lock(m_mtxListeners);
for(std::list<AntListenerBase*>::iterator i = listeners.begin(); i != listeners.end(); i++)
{
- (*i)->onMsg(m);
+ AntListenerBase* listener = *i;
+ listener->onMsg(m);
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-running/antpm.git
More information about the Pkg-running-devel
mailing list