From: Marcus Comstedt Date: Mon, 2 Nov 2015 16:16:58 +0000 (+0100) Subject: Java: Remove explicit constructor deletes since SWIG 2 doesn't like them X-Git-Tag: libsigrok-0.4.0~127 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=ee95d6bd8b94dfd6ac67d850e17879a4e5875b6a;p=libsigrok.git 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). --- 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;