mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 861032 - Fix -Wreinterpret-base-class warning on Codegen.py. r=bz
--HG-- extra : rebase_source : c05d51d8aeed182b85333a347f0b1dfb5d6b1ef9
This commit is contained in:
parent
6d56f24db4
commit
3d99395f09
@ -1940,7 +1940,7 @@ class CGWrapWithCacheMethod(CGAbstractMethod):
|
||||
|
||||
if self.descriptor.nativeOwnership == 'nsisupports':
|
||||
assertISupportsInheritance = (
|
||||
' MOZ_ASSERT(reinterpret_cast<nsWrapperCache*>(aObject) != aCache,\n'
|
||||
' MOZ_ASSERT(reinterpret_cast<void*>(aObject) != aCache,\n'
|
||||
' "nsISupports must be on our primary inheritance chain");\n')
|
||||
else:
|
||||
assertISupportsInheritance = ""
|
||||
|
Loading…
Reference in New Issue
Block a user