Created attachment 587070 [details] [diff] [review] Mark deleted JSFunction::toFunction methods as private, as per MOZ_DELETE instructions in mfbt/Attributes.h. The documentation for MOZ_DELETE in mfbt/Attributes.h says: * MOZ_DELETE relies on C++11 functionality not universally implemented. As a * backstop, method declarations using MOZ_DELETE should be private. My changeset 89c6efec31a7 of 2012-1-6 added MOZ_DELETE, but didn't mark the methods private. The attached patch fixes this.
6 years ago