[Gridflow-cvs] [svn] commit: r5939 - /trunk/src/classes2.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Wed Aug 4 15:17:06 EDT 2010


Author: pboivin
Date: Wed Aug  4 15:17:04 2010
New Revision: 5939

Log:
std::vector has no member data() on OSX ?

Modified:
    trunk/src/classes2.cxx

Modified: trunk/src/classes2.cxx
==============================================================================
--- trunk/src/classes2.cxx (original)
+++ trunk/src/classes2.cxx Wed Aug  4 15:17:04 2010
@@ -219,7 +219,7 @@
 	\constructor () {}
 	//void outlet_entry(const typeof(table.begin()) &f) // can't use this in gcc<4.4
 	void outlet_entry(const table_t::iterator &f) {
-		outlet_anything(outlets[0],f->first,f->second.size(),f->second.data());
+		outlet_anything(outlets[0],f->first,f->second.size(),&*f->second.begin());
 	}
 	\decl 0 get (t_symbol *s=0) {
 		if (s) {



More information about the Gridflow-cvs mailing list