src/hugo/map_registry.h
changeset 897 ef09eee53b09
parent 822 88226d9fe821
child 901 69a8e672acb1
equal deleted inserted replaced
4:6cbbb34d6001 5:0ab6f9144128
    68       } 
    68       } 
    69 	
    69 	
    70       /** 
    70       /** 
    71        * Assign operator.
    71        * Assign operator.
    72       */	
    72       */	
    73 
       
    74       const MapBase& operator=(const MapBase& copy) {
    73       const MapBase& operator=(const MapBase& copy) {
    75 	if (registry) {
    74 	if (registry) {
    76 	  registry->detach(*this);
    75 	  registry->detach(*this);
    77 	}
    76 	}
    78 	graph = copy.graph;
    77 	graph = copy.graph;