diff -r 06caf4782e51 -r d2122a32ec86 stage3/datatype_functions.hh --- a/stage3/datatype_functions.hh Wed Jul 18 17:04:34 2012 +0100 +++ b/stage3/datatype_functions.hh Wed Jul 18 17:10:57 2012 +0100 @@ -142,7 +142,7 @@ /* Search for a datatype inside a candidate_datatypes list. * Returns: position of datatype in the list, or -1 if not found. */ -int search_in_candidate_datatype_list(symbol_c *datatype, std::vector candidate_datatypes); +int search_in_candidate_datatype_list(symbol_c *datatype, const std::vector &candidate_datatypes); /* Remove a datatype inside a candidate_datatypes list. * Returns: If successful it returns true, false otherwise.