aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flattr.cpp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2005-04-16 21:35:06 +0000
committerThomas Grill <xovo@users.sourceforge.net>2005-04-16 21:35:06 +0000
commita7389a1405e6c160989e3d7097813b55e08e0f8d (patch)
tree9234122a98f9b8f41699e58e168feb10dda6bf03 /externals/grill/flext/source/flattr.cpp
parent0792fe88f2ad1d4f0bbc2c02c0fe6bb5782c31b6 (diff)
updated templates
changed template parameter of TableMap fixes for OSX fixed problems with symbol binding svn path=/trunk/; revision=2771
Diffstat (limited to 'externals/grill/flext/source/flattr.cpp')
-rw-r--r--externals/grill/flext/source/flattr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/externals/grill/flext/source/flattr.cpp b/externals/grill/flext/source/flattr.cpp
index d0c33ebb..79a63ab3 100644
--- a/externals/grill/flext/source/flattr.cpp
+++ b/externals/grill/flext/source/flattr.cpp
@@ -103,7 +103,7 @@ void flext_base::AddAttrib(t_classid c,const t_symbol *attr,metharg tp,methfun g
void flext_base::ListAttrib(AtomList &la) const
{
- typedef TablePtrMap<int,t_symbol,32> AttrList;
+ typedef TablePtrMap<int,const t_symbol *,32> AttrList;
AttrList list[2];
int i;
@@ -114,7 +114,7 @@ void flext_base::ListAttrib(AtomList &la) const
for(ItemSet::iterator as(ai); as; ++as) {
for(Item *al = as.data(); al; al = al->nxt) {
AttrItem *aa = (AttrItem *)al;
- list[i].insert(aa->index,const_cast<t_symbol *>(as.key()));
+ list[i].insert(aa->index,as.key());
break;
}
}