aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/symbols.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2016-11-20 16:37:33 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2016-11-20 16:46:12 +0100
commit29200089d2728b320d9862758ce2493e80116549 (patch)
tree88557e967a7bf3878ad0c6c92752b0b04aff321d /src/symbols.h
parent19675a1a4899f68a4e7afbd45cebc63b544650e4 (diff)
downloadsciteco-29200089d2728b320d9862758ce2493e80116549.tar.gz
fixup to 19675a1a4899: fixed crash after rubbing out creation of global register
* test case: rubout 1U[foo] * this probably also leaked memory if it didn't crash * a missing cast from RBTree::remove() was missing. This cast is necessary since QRegister uses multiple inheritance. The offset of RBEntryString might not be 0 in QRegister. Also, since the base class is no longer virtual, a cast to the virtual QRegister class is necessary to ensure that subclass destructors get called. This might have not caused problems before since RBEntry was virtual or the compiler just happened to reorder the instance structures.
Diffstat (limited to 'src/symbols.h')
0 files changed, 0 insertions, 0 deletions