[Lemon-commits] Alpar Juttner: Backport [8a3fb3155dca] (Bugfix i...

Lemon HG hg at lemon.cs.elte.hu
Sat Aug 10 15:47:46 CEST 2013


details:   http://lemon.cs.elte.hu/hg/lemon/rev/e13061207f85
changeset: 1277:e13061207f85
user:      Alpar Juttner <alpar [at] cs.elte.hu>
date:      Wed Jul 24 10:21:35 2013 +0200
description:
	Backport [8a3fb3155dca] (Bugfix in test/maps_test.cc) to branch 1.2
	(#469)

diffstat:

 NEWS              |  1 +
 test/maps_test.cc |  3 ++-
 2 files changed, 3 insertions(+), 1 deletions(-)

diffs (24 lines):

diff --git a/NEWS b/NEWS
--- a/NEWS
+++ b/NEWS
@@ -19,6 +19,7 @@
         #461: Bugfix in assert.h
         #470: Fix compilation issues related to various gcc versions
         #439: Bugfix in biNodeConnected()
+        #469: Bugfix in test/maps_test.cc
 
 2011-11-09 Version 1.2.3 released
 
diff --git a/test/maps_test.cc b/test/maps_test.cc
--- a/test/maps_test.cc
+++ b/test/maps_test.cc
@@ -535,7 +535,8 @@
           "Wrong SourceMap or TargetMap");
 
     typedef Orienter<Graph, const ConstMap<Edge, bool> > Digraph;
-    Digraph dgr(gr, constMap<Edge, bool>(true));
+    ConstMap<Edge, bool> true_edge_map(true);
+    Digraph dgr(gr, true_edge_map);
     OutDegMap<Digraph> odm(dgr);
     InDegMap<Digraph> idm(dgr);
 


More information about the Lemon-commits mailing list