aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/goto.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/goto.h
parent20fcf2feccbe2c48ee33cee73ed8bf9a6d4a06a2 (diff)
downloadsciteco-dd6410b2b35a76de75622660cae9c1444b7a1880.tar.gz
optimized QRegisterTable cleanup
* we can use root() instead of min() which is faster
Diffstat (limited to 'src/goto.h')
-rw-r--r--src/goto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/goto.h b/src/goto.h
index de4432d..44d1d29 100644
--- a/src/goto.h
+++ b/src/goto.h
@@ -93,7 +93,7 @@ public:
{
Label *cur;
- while ((cur = (Label *)min()))
+ while ((cur = (Label *)root()))
delete (Label *)RBTreeString::remove(cur);
}