Add a default copy constructor for JMethod
Summary:
Since the copy assignment operator was defaulted the compiler will
refuse to subsequently generate the copy assignment operator in llvm-13. So just
tell it to do what it used to do.
@@ -91,6 +91,7 @@ class JMethod<TYPE(Args...)> : public JMethodBase {
using JMethodBase::JMethodBase; \
JMethod() noexcept {}; \
JMethod(const JMethod& other) noexcept = default; \
+ JMethod& operator=(const JMethod& other) noexcept = default; \
\
TYPE operator()(alias_ref<jobject> self, Args... args) const; \
\
