aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/help.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2016-11-21 23:12:07 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2016-11-22 18:15:21 +0100
commitdd6410b2b35a76de75622660cae9c1444b7a1880 (patch)
tree7cd2ceec58a4a8012fa86a18cb8c81146a8711ee /src/help.h
parent20fcf2feccbe2c48ee33cee73ed8bf9a6d4a06a2 (diff)
downloadsciteco-dd6410b2b35a76de75622660cae9c1444b7a1880.tar.gz
optimized QRegisterTable cleanup
* we can use root() instead of min() which is faster
Diffstat (limited to 'src/help.h')
-rw-r--r--src/help.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/help.h b/src/help.h
index 85c2384..4af8f3b 100644
--- a/src/help.h
+++ b/src/help.h
@@ -52,7 +52,7 @@ public:
{
Topic *cur;
- while ((cur = (Topic *)min()))
+ while ((cur = (Topic *)root()))
delete (Topic *)remove(cur);
}