Java: Remove explicit constructor deletes since SWIG 2 doesn't like them
bindings/java/org/sigrok/core/classes/classes.i:247: Error: \ Syntax error in input(3).
This commit is contained in:
parent
e13648d041
commit
ee95d6bd8b
|
@ -244,7 +244,6 @@ namespace {
|
|||
class ScopedEnv {
|
||||
public:
|
||||
ScopedEnv(JavaVM *jvm);
|
||||
ScopedEnv(const ScopedEnv &ref) = delete;
|
||||
~ScopedEnv();
|
||||
JNIEnv* operator-> () { return env; }
|
||||
operator bool () const { return (bool)env; }
|
||||
|
@ -279,7 +278,6 @@ namespace {
|
|||
{
|
||||
protected:
|
||||
GlobalRefBase (JavaVM *jvm, jobject ref);
|
||||
GlobalRefBase (const GlobalRefBase &ref) = delete;
|
||||
~GlobalRefBase ();
|
||||
JavaVM *jvm;
|
||||
jobject jref;
|
||||
|
|
Loading…
Reference in New Issue