Fix a ownership bug (thanks to cantora)

This commit is contained in:
Siu Kwan Lam 2013-08-23 10:59:47 -05:00
commit 24f1b33737

View file

@ -14,7 +14,7 @@ from src.Support.CodeGen import Reloc, CodeModel, CodeGenOpt
@Target
class Target:
getNext = Method(const(ptr(Target)))
getNext = Method(const(ownedptr(Target)))
getName = Method(cast(StdString, str))
getShortDescription = Method(cast(StdString, str))