summaryrefslogtreecommitdiff
path: root/src/Keys.cc
diff options
context:
space:
mode:
authormathias <mathias>2006-04-11 19:22:24 (GMT)
committermathias <mathias>2006-04-11 19:22:24 (GMT)
commitbe03b0a3dc916cd9a320a41e38ab57555f8d2a94 (patch)
treeb3a16984599e9f5e642dac132a1ed9076684fcb7 /src/Keys.cc
parenta6551852bb5cc860c2ba62b4b70ec269dcd9eb40 (diff)
downloadfluxbox_lack-be03b0a3dc916cd9a320a41e38ab57555f8d2a94.zip
fluxbox_lack-be03b0a3dc916cd9a320a41e38ab57555f8d2a94.tar.bz2
cosmetic, closes #1467926
Diffstat (limited to 'src/Keys.cc')
-rw-r--r--src/Keys.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Keys.cc b/src/Keys.cc
index 626e836..5e30726 100644
--- a/src/Keys.cc
+++ b/src/Keys.cc
@@ -111,11 +111,11 @@ Keys::~Keys() {
111 111
112/// Destroys the keytree 112/// Destroys the keytree
113void Keys::deleteTree() { 113void Keys::deleteTree() {
114 while (!m_keylist.empty()) { 114 keylist_t::iterator it = m_keylist.begin();
115 if (m_keylist.back()) 115 const keylist_t::iterator end = m_keylist.end();
116 delete m_keylist.back(); 116 for ( ; it != end; it++)
117 m_keylist.pop_back(); 117 delete *it;
118 } 118 m_keylist.clear();
119} 119}
120 120
121/** 121/**