Generate #include <typeinfo> if we're about to use typeid() operator

This commit is contained in:
Gustavo J. A. M. Carneiro committed 2008-07-25 19:32:10 +01:00
1 parent b8ccb8347b
commit 0ef71e5c86
1 file changed
+1
+1
View File
@@ -910,6 +910,7 @@ class CppClass(object):
if self.helper_class is None:
if not self.is_singleton:
self.helper_class = CppHelperClass(self)
self.module.add_include('<typeinfo>')
return self.helper_class
def get_type_narrowing_root(self):