From a5d6e692d661f0bf7648e64e8fcb04588bb8f3ab Mon Sep 17 00:00:00 2001 From: Markus Engel Date: Mon, 1 Apr 2013 00:07:00 +0200 Subject: Prepared exchange of casting macros. (bzr r11608.1.63) --- src/sp-switch.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sp-switch.cpp') diff --git a/src/sp-switch.cpp b/src/sp-switch.cpp index f6c267f79..68f021fda 100644 --- a/src/sp-switch.cpp +++ b/src/sp-switch.cpp @@ -42,6 +42,7 @@ CSwitch::~CSwitch() { static void sp_switch_init (SPSwitch *sw) { sw->cswitch = new CSwitch(sw); + sw->typeHierarchy.insert(typeid(SPSwitch)); delete sw->cgroup; sw->cgroup = sw->cswitch; -- cgit v1.2.3