Changeset 590:5c1465127b79 in lemon0.x
 Timestamp:
 05/09/04 18:21:56 (17 years ago)
 Branch:
 default
 Phase:
 public
 Convert:
 svn:c9d7d8f590d60310b91f818b3a526b0e/lemon/trunk@769
 Location:
 src/hugo
 Files:

 2 edited
Legend:
 Unmodified
 Added
 Removed

src/hugo/list_graph.h
r579 r590 420 420 /// 421 421 template<typename TT> NodeMap(const NodeMap<TT> &m) : 422 DynMapBase<Node>(*m.G) 422 DynMapBase<Node>(*m.G), container(m.container.size()) 423 423 424 { 424 425 G>dyn_node_maps.push_back(this); … … 512 513 /// 513 514 template<typename TT> EdgeMap(const EdgeMap<TT> &m) : 514 DynMapBase<Edge>(*m.G) 515 DynMapBase<Edge>(*m.G), container(m.container.size()) 515 516 { 516 517 G>dyn_edge_maps.push_back(this); … … 663 664 664 665 template<typename TT> SymEdgeMap(const SymEdgeMap<TT> &m) : 665 DynMapBase<SymEdge>(*m.G) 666 DynMapBase<SymEdge>(*m.G), container(m.container.size()) 666 667 { 667 668 G>dyn_node_maps.push_back(this); … … 1034 1035 /// 1035 1036 template<typename TT> NodeMap(const NodeMap<TT> &m) : 1036 DynMapBase<Node>(*m.G) 1037 DynMapBase<Node>(*m.G), container(m.container.size()) 1037 1038 { 1038 1039 G>dyn_node_maps.push_back(this); … … 1556 1557 /// 1557 1558 template<typename TT> EdgeMap(const EdgeMap<TT> &m) : 1558 DynMapBase<Edge>(*m.G) 1559 DynMapBase<Edge>(*m.G), container(m.container.size()) 1559 1560 { 1560 1561 G>dyn_edge_maps.push_back(this); 
src/hugo/smart_graph.h
r579 r590 64 64 public: 65 65 template <typename T> class EdgeMap; 66 template <typename T> class EdgeMap;66 template <typename T> class NodeMap; 67 67 68 68 class Node; … … 308 308 309 309 ///\todo It can copy between different types. 310 /// 310 ///\todo We could use 'copy' 311 311 template<typename TT> NodeMap(const NodeMap<TT> &m) : 312 DynMapBase<Node>(*m.G) 312 DynMapBase<Node>(*m.G), container(m.container.size()) 313 313 { 314 314 G>dyn_node_maps.push_back(this); … … 399 399 400 400 ///\todo It can copy between different types. 401 /// 402 template<typename TT> EdgeMap(const EdgeMap<TT> &m) : 403 DynMapBase<Edge>(*m.G) 401 template<typename TT> EdgeMap(const EdgeMap<TT> &m) 402 : DynMapBase<Edge>(*m.G), container(m.container.size()) 404 403 { 405 404 G>dyn_edge_maps.push_back(this); … … 542 541 /// 543 542 544 template<typename TT> SymEdgeMap(const SymEdgeMap<TT> &m) :545 DynMapBase<SymEdge>(*m.G)543 template<typename TT> SymEdgeMap(const SymEdgeMap<TT> &m) 544 : DynMapBase<SymEdge>(*m.G), container(m.container.size()) 546 545 { 547 546 G>dyn_node_maps.push_back(this); … … 614 613 615 614 616 #endif // SMART_GRAPH_H615 #endif //HUGO_SMART_GRAPH_H
Note: See TracChangeset
for help on using the changeset viewer.