aboutsummaryrefslogtreecommitdiff
path: root/guilib/GUIControlGroup.cpp
diff options
context:
space:
mode:
authorjmarshallnz <jmarshallnz@svn>2010-01-09 22:43:54 +0000
committerjmarshallnz <jmarshallnz@svn>2010-01-09 22:43:54 +0000
commit9fe93705a89c0d783d094aad876addac3515eb96 (patch)
treecce814ee44fcb11117aa27b13566181b4c51e31b /guilib/GUIControlGroup.cpp
parent9b26dae923793fa38d84b679445fa8dcdc595301 (diff)
fixed: OS X STL doesn't like const iterators inside non-const functions.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@26611 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/GUIControlGroup.cpp')
-rw-r--r--guilib/GUIControlGroup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/guilib/GUIControlGroup.cpp b/guilib/GUIControlGroup.cpp
index 415bdbf02f..cc7af7e574 100644
--- a/guilib/GUIControlGroup.cpp
+++ b/guilib/GUIControlGroup.cpp
@@ -367,7 +367,7 @@ bool CGUIControlGroup::SendMouseEvent(const CPoint &point, const CMouseEvent &ev
if (CGUIControl::CanFocus())
{
// run through our controls in reverse order (so that last rendered is checked first)
- for (crControls i = m_children.rbegin(); i != m_children.rend(); ++i)
+ for (rControls i = m_children.rbegin(); i != m_children.rend(); ++i)
{
CGUIControl *child = *i;
if (child->SendMouseEvent(childPoint, event))