mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
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 | ||
moz.build | ||
SDKProcessor.java |