зеркало из https://github.com/mozilla/gecko-dev.git
7831fb1c31
clang complains that a constexpr definition of methods[] cannot refer to members of the incomplete Impl template parameter, and rightly so. Making these const is sufficient for our purposes, and that enables us to move the declaration outside of the class, where it will be instantiated lazily (presumably at the point when |Impl| is a complete class definition). We also need to declare the length of methods[], as other parts of the code require knowing the length of methods[] at compile time. |
||
---|---|---|
.. | ||
classloader | ||
utils | ||
AnnotationInfo.java | ||
AnnotationProcessor.java | ||
CodeGenerator.java | ||
Makefile.in | ||
SDKProcessor.java | ||
moz.build |