From ee95d6bd8b94dfd6ac67d850e17879a4e5875b6a Mon Sep 17 00:00:00 2001 From: Marcus Comstedt Date: Mon, 2 Nov 2015 17:16:58 +0100 Subject: [PATCH] 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). --- bindings/java/org/sigrok/core/classes/classes.i | 2 -- 1 file changed, 2 deletions(-) diff --git a/bindings/java/org/sigrok/core/classes/classes.i b/bindings/java/org/sigrok/core/classes/classes.i index dda333df..6489b9cf 100644 --- a/bindings/java/org/sigrok/core/classes/classes.i +++ b/bindings/java/org/sigrok/core/classes/classes.i @@ -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;