[Lemon-commits] [lemon_svn] deba: r1819 - hugo/trunk/src/lemon/bits

Lemon SVN svn at lemon.cs.elte.hu
Mon Nov 6 20:47:56 CET 2006


Author: deba
Date: Tue Apr 19 15:33:44 2005
New Revision: 1819

Modified:
   hugo/trunk/src/lemon/bits/array_map.h
   hugo/trunk/src/lemon/bits/vector_map.h

Log:
Call the default constructor of the ObserverBase.



Modified: hugo/trunk/src/lemon/bits/array_map.h
==============================================================================
--- hugo/trunk/src/lemon/bits/array_map.h	(original)
+++ hugo/trunk/src/lemon/bits/array_map.h	Tue Apr 19 15:33:44 2005
@@ -96,7 +96,7 @@
 
     /** Constructor to copy a map of the same map type.
      */
-    ArrayMap(const ArrayMap& copy) {
+    ArrayMap(const ArrayMap& copy) : Parent() {
       if (copy.attached()) {
 	attach(*copy.getRegistry());
       }

Modified: hugo/trunk/src/lemon/bits/vector_map.h
==============================================================================
--- hugo/trunk/src/lemon/bits/vector_map.h	(original)
+++ hugo/trunk/src/lemon/bits/vector_map.h	Tue Apr 19 15:33:44 2005
@@ -109,7 +109,8 @@
       container.resize(graph->maxId(_Item()) + 1, _v);
     }
 
-    VectorMap(const VectorMap& _copy) : graph(_copy.getGraph()) {
+    VectorMap(const VectorMap& _copy) 
+      : Parent(), graph(_copy.getGraph()) {
       if (_copy.attached()) {
 	attach(*_copy.getRegistry());
 	container = _copy.container;



More information about the Lemon-commits mailing list