mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +00:00
Bug 1045041
- Mark non-explicit classes created by IPDL to be MOZ_IMPLICIT; r=froydnj
This commit is contained in:
parent
260cd0b990
commit
1266d7384c
@ -234,6 +234,8 @@ class CxxCodeGen(CodePrinter, Visitor):
|
||||
def visitConstructorDecl(self, cd):
|
||||
if cd.explicit:
|
||||
self.write('explicit ')
|
||||
else:
|
||||
self.write('MOZ_IMPLICIT ')
|
||||
self.visitMethodDecl(cd)
|
||||
|
||||
def visitConstructorDefn(self, cd):
|
||||
|
Loading…
Reference in New Issue
Block a user