Fix a ownership bug (thanks to cantora)
This commit is contained in:
parent
536bc37c94
commit
24f1b33737
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue