diff options
author | Mike Antipov <mantipov@productengine.com> | 2010-07-12 12:52:31 +0300 |
---|---|---|
committer | Mike Antipov <mantipov@productengine.com> | 2010-07-12 12:52:31 +0300 |
commit | ea35754f08a9a76208d1edd80ed6bc55278eb575 (patch) | |
tree | 1ceada3b919f4bf8dfa8e1dc048baadf87784795 /indra/newview/llgesturemgr.cpp | |
parent | d8e26b7b73b734e1745795788c844f6aab3360fe (diff) | |
parent | ee50934d886b07c85e3be0515ff3e53625052faa (diff) |
Merge from default branch
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llgesturemgr.cpp')
-rw-r--r-- | indra/newview/llgesturemgr.cpp | 9 |
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(); } } |