2
0
Эх сурвалжийг харах

* don't insert bogus vmt field in forward-defined classes

git-svn-id: trunk@14961 -
Jonas Maebe 15 жил өмнө
parent
commit
e693b47234
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      compiler/pdecobj.pas

+ 1 - 0
compiler/pdecobj.pas

@@ -955,6 +955,7 @@ implementation
 
         { generate vmt space if needed }
         if not(oo_has_vmt in current_objectdef.objectoptions) and
+           not(oo_is_forward in current_objectdef.objectoptions) and
            (
             ([oo_has_virtual,oo_has_constructor,oo_has_destructor]*current_objectdef.objectoptions<>[]) or
             (current_objectdef.objecttype in [odt_class])