]> sigrok.org Git - libsigrok.git/commitdiff
Java: Remove explicit constructor deletes since SWIG 2 doesn't like them
authorMarcus Comstedt <redacted>
Mon, 2 Nov 2015 16:16:58 +0000 (17:16 +0100)
committerUwe Hermann <redacted>
Mon, 2 Nov 2015 17:46:05 +0000 (18:46 +0100)
  bindings/java/org/sigrok/core/classes/classes.i:247: Error: \
    Syntax error in input(3).

bindings/java/org/sigrok/core/classes/classes.i

index dda333df09dc7762a6057779f93abede14995e91..6489b9cf092baacbd048967afc407f97eb7e1eca 100644 (file)
@@ -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;