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

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Mon Nov 2 16:18:46 EST 2009


Author: matju
Date: Mon Nov  2 16:18:46 2009
New Revision: 4698

Log:
fix new #include and namespace problems

Modified:
    trunk/src/classes2.cxx

Modified: trunk/src/classes2.cxx
==============================================================================
--- trunk/src/classes2.cxx (original)
+++ trunk/src/classes2.cxx Mon Nov  2 16:18:46 2009
@@ -32,6 +32,11 @@
 };
 #endif
 #include <algorithm>
+#include <errno.h>
+#include <sys/time.h>
+#include <string>
+
+typedef int (*comparator_t)(const void *, const void *);
 
 #ifndef DESIREDATA
 struct _outconnect {
@@ -144,7 +149,9 @@
 
 //****************************************************************
 
+namespace {
 template <class T> void swap (T &a, T &b) {T c; c=a; a=b; b=c;}
+};
 
 \class ListReverse : FObject {
 	\constructor () {}



More information about the Gridflow-cvs mailing list