diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2004-10-21 18:16:21 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2004-10-21 18:16:21 +0000 |
commit | cd22d7697289e0d0a56609707a7f52067f4015d6 (patch) | |
tree | ec066457551910cd3e9bc202fb51ecb1ade996c7 /Lib/ruby/director.swg | |
parent | 20b69b44720563c4eaf9ecc061d53628fb4aa538 (diff) | |
download | swig-cd22d7697289e0d0a56609707a7f52067f4015d6.tar.gz |
fixes for directors and default arguments in the constructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/ruby/director.swg')
-rw-r--r-- | Lib/ruby/director.swg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ruby/director.swg b/Lib/ruby/director.swg index 11482bdd5..6f1d7f1b0 100644 --- a/Lib/ruby/director.swg +++ b/Lib/ruby/director.swg @@ -103,7 +103,7 @@ namespace Swig { public: /* wrap a Ruby object, optionally taking ownership */ - Director(VALUE self, bool disown) : swig_self(self), swig_disown_flag(disown) { + Director(VALUE self) : swig_self(self), swig_disown_flag(false) { } /* discard our reference at destruction */ |