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 {
|
class ScopedEnv {
|
||||||
public:
|
public:
|
||||||
ScopedEnv(JavaVM *jvm);
|
ScopedEnv(JavaVM *jvm);
|
||||||
ScopedEnv(const ScopedEnv &ref) = delete;
|
|
||||||
~ScopedEnv();
|
~ScopedEnv();
|
||||||
JNIEnv* operator-> () { return env; }
|
JNIEnv* operator-> () { return env; }
|
||||||
operator bool () const { return (bool)env; }
|
operator bool () const { return (bool)env; }
|
||||||
|
@ -279,7 +278,6 @@ namespace {
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
GlobalRefBase (JavaVM *jvm, jobject ref);
|
GlobalRefBase (JavaVM *jvm, jobject ref);
|
||||||
GlobalRefBase (const GlobalRefBase &ref) = delete;
|
|
||||||
~GlobalRefBase ();
|
~GlobalRefBase ();
|
||||||
JavaVM *jvm;
|
JavaVM *jvm;
|
||||||
jobject jref;
|
jobject jref;
|
||||||
|
|
Loading…
Reference in New Issue