aboutsummaryrefslogtreecommitdiff
path: root/lang/mozart/files/patch-platform-emulator-libfd-complalldist.hh
diff options
context:
space:
mode:
Diffstat (limited to 'lang/mozart/files/patch-platform-emulator-libfd-complalldist.hh')
-rw-r--r--lang/mozart/files/patch-platform-emulator-libfd-complalldist.hh31
1 files changed, 31 insertions, 0 deletions
diff --git a/lang/mozart/files/patch-platform-emulator-libfd-complalldist.hh b/lang/mozart/files/patch-platform-emulator-libfd-complalldist.hh
new file mode 100644
index 000000000000..8c94ab76a448
--- /dev/null
+++ b/lang/mozart/files/patch-platform-emulator-libfd-complalldist.hh
@@ -0,0 +1,31 @@
+--- ./platform/emulator/libfd/complalldist.hh.orig Fri May 16 06:18:42 2003
++++ ./platform/emulator/libfd/complalldist.hh Sat Sep 3 18:46:08 2005
+@@ -9,8 +9,8 @@
+ * Organization or Person (Year(s))
+ *
+ * Last change:
+- * $Date: 2003/05/16 10:18:42 $ by $Author: duchier $
+- * $Revision: 1.16 $
++ * $Date: 2005/01/30 10:41:43 $ by $Author: glynn $
++ * $Revision: 1.16.8.1 $
+ *
+ * This file is part of Mozart, an implementation
+ * of Oz 3:
+@@ -213,7 +213,7 @@
+ #endif
+ }
+
+- list<T> (list<T> &E) :generic() {
++ list<T> (const list<T> &E) :generic() {
+ dlink<T> *p = E.root;
+ dlink<T> *q = NULL;
+ dlink<T> *r = NULL;
+@@ -873,7 +873,7 @@
+
+ /* ------------------------------------------------------------------------ */
+
+-inline list<edge> graph::MAX_CARD_BIPARTITE_MATCHING(const list<node>& A,
++ inline list<edge> graph::MAX_CARD_BIPARTITE_MATCHING(const list<node>& A,
+ const list<node>& B ) {
+
+ // G is a bipartite graph with sides A and B, all edges must be directed