# HG changeset patch
# User Alpar Juttner <alpar@cs.elte.hu>
# Date 1374654095 -7200
# Node ID e13061207f85ee5f428855b83b2fe3a3ad62a26c
# Parent  bb4fde5d0634318f03e706ee6c92b94acc4104fe
Backport [8a3fb3155dca] (Bugfix in test/maps_test.cc) to branch 1.2 (#469)

diff -r bb4fde5d0634 -r e13061207f85 NEWS
--- a/NEWS	Sat Aug 10 12:25:35 2013 +0200
+++ b/NEWS	Wed Jul 24 10:21:35 2013 +0200
@@ -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 -r bb4fde5d0634 -r e13061207f85 test/maps_test.cc
--- a/test/maps_test.cc	Sat Aug 10 12:25:35 2013 +0200
+++ b/test/maps_test.cc	Wed Jul 24 10:21:35 2013 +0200
@@ -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);