aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/FocusableList.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FocusableList.cc b/src/FocusableList.cc
index 0850943..3689283 100644
--- a/src/FocusableList.cc
+++ b/src/FocusableList.cc
@@ -164,7 +164,7 @@ void FocusableList::checkUpdate(Focusable &win) {
164 164
165// returns whether or not the window was moved 165// returns whether or not the window was moved
166bool FocusableList::insertFromParent(Focusable &win) { 166bool FocusableList::insertFromParent(Focusable &win) {
167 const Focusables list = m_parent->clientList(); 167 const Focusables &list = m_parent->clientList();
168 Focusables::const_iterator p_it = list.begin(), p_it_end = list.end(); 168 Focusables::const_iterator p_it = list.begin(), p_it_end = list.end();
169 Focusables::iterator our_it = m_list.begin(), our_it_end = m_list.end(); 169 Focusables::iterator our_it = m_list.begin(), our_it_end = m_list.end();
170 // walk through our list looking for corresponding entries in 170 // walk through our list looking for corresponding entries in
@@ -189,7 +189,7 @@ void FocusableList::addMatching() {
189 if (!m_parent) 189 if (!m_parent)
190 return; 190 return;
191 191
192 const Focusables list = m_parent->clientList(); 192 const Focusables &list = m_parent->clientList();
193 Focusables::const_iterator it = list.begin(), it_end = list.end(); 193 Focusables::const_iterator it = list.begin(), it_end = list.end();
194 for (; it != it_end; ++it) { 194 for (; it != it_end; ++it) {
195 if (m_pat->match(**it)) { 195 if (m_pat->match(**it)) {