diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2005-03-16 04:56:38 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2005-03-16 04:56:38 +0000 |
commit | 4d4f8d07f3341e8309c1b066263a40227664bc3d (patch) | |
tree | b54c8807e28f73f83b5704c3f91d0fc012c98f83 /externals/grill/flext/source/flmeth.cpp | |
parent | 31a2d9dcc2b3a519033918e180f81c4e7b9f8e7e (diff) |
static method map
minor other things
fixes for OSX
fix for gcc
svn path=/trunk/; revision=2629
Diffstat (limited to 'externals/grill/flext/source/flmeth.cpp')
-rwxr-xr-x | externals/grill/flext/source/flmeth.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/externals/grill/flext/source/flmeth.cpp b/externals/grill/flext/source/flmeth.cpp index a9bf6749..e93db27a 100755 --- a/externals/grill/flext/source/flmeth.cpp +++ b/externals/grill/flext/source/flmeth.cpp @@ -17,9 +17,6 @@ WARRANTIES, see the file, "license.txt," in this distribution. #include <stdarg.h> #include "flinternal.h" -#include <set> - - flext_base::MethItem::MethItem(AttrItem *conn): Item(conn),index(0), argc(0),args(NULL) @@ -41,7 +38,7 @@ void flext_base::MethItem::SetArgs(methfun _fun,int _argc,metharg *_args) void flext_base::AddMethodDef(int inlet,const t_symbol *tag) { - methhead->Add(new MethItem,tag,inlet); + methhead.Add(new MethItem,tag,inlet); } /*! \brief Add a method to the queue @@ -97,7 +94,7 @@ void flext_base::ListMethods(AtomList &la,int inlet) const int i; for(i = 0; i <= 1; ++i) { - ItemCont *a = i?methhead:clmethhead; + ItemCont *a = i?&methhead:clmethhead; if(a && a->Contained(inlet)) { ItemSet &ai = a->GetInlet(inlet); for(ItemSet::iterator as(ai); as; ++as) { |