Forráskód Böngészése

* don't insert vmt for objcprotocols either

git-svn-id: branches/objc@13639 -
Jonas Maebe 16 éve
szülő
commit
1f1396596e
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      compiler/symdef.pas

+ 1 - 1
compiler/symdef.pas

@@ -4114,7 +4114,7 @@ implementation
      var
        vs: tfieldvarsym;
      begin
-        if objecttype in [odt_interfacecom,odt_interfacecorba,odt_dispinterface,odt_objcclass] then
+        if objecttype in [odt_interfacecom,odt_interfacecorba,odt_dispinterface,odt_objcclass,odt_objcprotocol] then
           exit;
         if (oo_has_vmt in objectoptions) then
           internalerror(12345)