Backport of bug fix hg 2de55e4f57a7
authordeba
Thu, 28 Feb 2008 16:33:40 +0000
changeset 258520d42311e344
parent 2584 84ef3c5b3698
child 2586 37fb2c384c78
Backport of bug fix hg 2de55e4f57a7
lemon/bits/graph_extender.h
     1.1 --- a/lemon/bits/graph_extender.h	Thu Feb 28 02:58:26 2008 +0000
     1.2 +++ b/lemon/bits/graph_extender.h	Thu Feb 28 16:33:40 2008 +0000
     1.3 @@ -20,6 +20,7 @@
     1.4  #define LEMON_BITS_GRAPH_EXTENDER_H
     1.5  
     1.6  #include <lemon/bits/invalid.h>
     1.7 +#include <lemon/bits/utility.h>
     1.8  #include <lemon/error.h>
     1.9  
    1.10  #include <lemon/bits/map_extender.h>
    1.11 @@ -330,10 +331,12 @@
    1.12    template <typename Base> 
    1.13    class UGraphExtender : public Base {
    1.14    public:
    1.15 -    
    1.16 +
    1.17      typedef Base Parent;
    1.18      typedef UGraphExtender Graph;
    1.19  
    1.20 +    typedef True UndirectedTag;
    1.21 +
    1.22      typedef typename Parent::Node Node;
    1.23      typedef typename Parent::Edge Edge;
    1.24      typedef typename Parent::UEdge UEdge;
    1.25 @@ -753,6 +756,8 @@
    1.26      typedef Base Parent;
    1.27      typedef BpUGraphExtender Graph;
    1.28  
    1.29 +    typedef True UndirectedTag;
    1.30 +
    1.31      typedef typename Parent::Node Node;
    1.32      typedef typename Parent::ANode ANode;
    1.33      typedef typename Parent::BNode BNode;