summaryrefslogtreecommitdiff
path: root/lang/mozart/files/patch-platform-emulator-libfd-complalldist.hh
blob: 8c94ab76a448ebfc134757778a2e910942b48bf2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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