[Gridflow-cvs] [svn] commit: r6790 - /trunk/src/gridflow.hxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Mon Aug 8 21:25:56 EDT 2011


Author: claude
Date: Mon Aug  8 21:25:54 2011
New Revision: 6790

Log:
fix warnings from vector resize()'s use of defaultly constructed values

Modified:
    trunk/src/gridflow.hxx

Modified: trunk/src/gridflow.hxx
==============================================================================
--- trunk/src/gridflow.hxx (original)
+++ trunk/src/gridflow.hxx Mon Aug  8 21:25:54 2011
@@ -296,7 +296,7 @@
 
 	template <class T> t_atom2 &operator = (T value) {set_atom(this,value); return *this;};
 	template <class T> t_atom2             (T value) {set_atom(this,value);              };
-	t_atom2 () {}
+	t_atom2 ()                            {a_type = A_NULL; a_gpointer = 0;}
 	t_atom2 (t_atomtype t, int i)         {a_type = t; a_index    = i;}
 	t_atom2 (t_atomtype t, float f)       {a_type = t; a_float    = f;}
 	t_atom2 (t_atomtype t, t_symbol *s)   {a_type = t; a_symbol   = s;}



More information about the Gridflow-cvs mailing list