- Use dynamic_cast anyway, since static_cast doesn't play well

with multiple inheritance


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1197 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-09-16 14:40:03 +00:00
parent 5391aa12da
commit 4472ae0183
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ namespace sgpem
return dynamic_cast<To&>(obj); return dynamic_cast<To&>(obj);
#endif #endif
#else #else
return static_cast<To&>(obj); return dynamic_cast<To&>(obj);
#endif #endif
} }
}; };