mirror of
https://github.com/mappu/miqt.git
synced 2025-02-22 20:40:23 +00:00
genbindings: virtualbase calls should not call the subclass
This commit is contained in:
parent
aa6a401fb6
commit
2f6817ac32
@ -1305,6 +1305,11 @@ extern "C" {
|
|||||||
ret = strings.Replace(ret, classInherit.Class.ClassName+`::`, cppSubclassName(c)+`::`, -1)
|
ret = strings.Replace(ret, classInherit.Class.ClassName+`::`, cppSubclassName(c)+`::`, -1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// The first instance of this class name change affected the very
|
||||||
|
// method we're going to call
|
||||||
|
// Undo it, but only once
|
||||||
|
ret = strings.Replace(ret, "->"+cppSubclassName(c), "->"+c.ClassName, 1)
|
||||||
|
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user