summaryrefslogtreecommitdiffstats
path: root/src/sp-tref.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-tref.cpp')
-rw-r--r--src/sp-tref.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sp-tref.cpp b/src/sp-tref.cpp
index 7d17f9d3b..6eee54450 100644
--- a/src/sp-tref.cpp
+++ b/src/sp-tref.cpp
@@ -77,6 +77,7 @@ static void
sp_tref_init(SPTRef *tref)
{
tref->ctref = new CTRef(tref);
+ tref->typeHierarchy.insert(typeid(SPTRef));
delete tref->citem;
tref->citem = tref->ctref;