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:
Marcus Comstedt 2015-11-02 17:16:58 +01:00 committed by Uwe Hermann
parent e13648d041
commit ee95d6bd8b
1 changed files with 0 additions and 2 deletions

View 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;