.
authoralpar
Fri, 19 Mar 2004 07:59:52 +0000
changeset 205992aac9c9541
parent 204 d8107ae24128
child 206 47f62d789fe7
.
doc/maps.dox
     1.1 --- a/doc/maps.dox	Fri Mar 19 07:58:58 2004 +0000
     1.2 +++ b/doc/maps.dox	Fri Mar 19 07:59:52 2004 +0000
     1.3 @@ -13,7 +13,7 @@
     1.4  \code
     1.5  class MyMap 
     1.6  {
     1.7 -  double get(Graph::EdgeIt e) { return M_PI;}
     1.8 +  double get(Graph::EdgeIt e) const { return M_PI;}
     1.9  };
    1.10  \endcode
    1.11  
    1.12 @@ -22,7 +22,7 @@
    1.13  \code
    1.14  class MyMap 
    1.15  {
    1.16 -  double operator[](Graph::EdgeIt e) { return 1;}
    1.17 +  double operator[](Graph::EdgeIt e) const { return 1;}
    1.18  };
    1.19  \endcode
    1.20