summaryrefslogtreecommitdiff
path: root/indra/newview/llgesturemgr.cpp
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2010-07-12 12:52:31 +0300
committerMike Antipov <mantipov@productengine.com>2010-07-12 12:52:31 +0300
commitea35754f08a9a76208d1edd80ed6bc55278eb575 (patch)
tree1ceada3b919f4bf8dfa8e1dc048baadf87784795 /indra/newview/llgesturemgr.cpp
parentd8e26b7b73b734e1745795788c844f6aab3360fe (diff)
parentee50934d886b07c85e3be0515ff3e53625052faa (diff)
Merge from default branch
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llgesturemgr.cpp')
-rw-r--r--indra/newview/llgesturemgr.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/indra/newview/llgesturemgr.cpp b/indra/newview/llgesturemgr.cpp
index 6ffd534a53..160dd0b959 100644
--- a/indra/newview/llgesturemgr.cpp
+++ b/indra/newview/llgesturemgr.cpp
@@ -1174,12 +1174,11 @@ void LLGestureMgr::notifyObservers()
{
lldebugs << "LLGestureMgr::notifyObservers" << llendl;
- std::vector<LLGestureManagerObserver*> observers = mObservers;
-
- std::vector<LLGestureManagerObserver*>::iterator it;
- for (it = observers.begin(); it != observers.end(); ++it)
+ for(std::vector<LLGestureManagerObserver*>::iterator iter = mObservers.begin();
+ iter != mObservers.end();
+ ++iter)
{
- LLGestureManagerObserver* observer = *it;
+ LLGestureManagerObserver* observer = (*iter);
observer->changed();
}
}