add missing method bodies

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6823 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-12-02 21:19:12 +00:00
commit c2c1edf4d2
2 changed files with 2 additions and 2 deletions

View file

@ -2,5 +2,5 @@
// bug # 924413
%inline {
void clear_tree_flags(register struct tree *tp, register int i);
void clear_tree_flags(register struct tree *tp, register int i) {}
}

View file

@ -15,7 +15,7 @@
virtual void say_hi() = 0; // only fails with pure virtual methods
virtual void say_hello(); // this works fine
virtual void say_hello() {} // this works fine
protected:
A() { } // defined protected as swig generates constructor by default