fix to compile with gcc 4.1.2
authorladanyi
Fri, 20 Apr 2007 15:51:54 +0000
changeset 243151f4a390e3e5
parent 2430 c14aaef85d50
child 2432 2b5f3d4a4e0d
fix to compile with gcc 4.1.2
lemon/kruskal.h
lemon/lp_base.h
     1.1 --- a/lemon/kruskal.h	Fri Apr 20 14:50:42 2007 +0000
     1.2 +++ b/lemon/kruskal.h	Fri Apr 20 15:51:54 2007 +0000
     1.3 @@ -560,7 +560,7 @@
     1.4          Sequence seq;
     1.5          
     1.6          for (MapEdgeIt it(graph); it != INVALID; ++it) {
     1.7 -          seq.push_back(make_pair(it, in[it]));
     1.8 +          seq.push_back(std::make_pair(it, in[it]));
     1.9          }
    1.10  
    1.11          std::sort(seq.begin(), seq.end(), PairComp<Sequence>());
     2.1 --- a/lemon/lp_base.h	Fri Apr 20 14:50:42 2007 +0000
     2.2 +++ b/lemon/lp_base.h	Fri Apr 20 15:51:54 2007 +0000
     2.3 @@ -21,8 +21,6 @@
     2.4  
     2.5  #include<iostream>
     2.6  
     2.7 -TEST BROKEN REPOSITORY WARNING
     2.8 - 
     2.9  #include<vector>
    2.10  #include<map>
    2.11  #include<limits>