mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
Bug 861032 - Fix -Wreinterpret-base-class warning on Codegen.py. r=bz
--HG-- extra : rebase_source : c05d51d8aeed182b85333a347f0b1dfb5d6b1ef9
This commit is contained in:
parent
dcb93daf4b
commit
7fe9a1d13e
@ -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