stage3/datatype_functions.hh
changeset 606 d2122a32ec86
parent 603 a45a62dd6df9
child 666 8ba9ec4bae50
--- 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 <symbol_c *> candidate_datatypes);
+int search_in_candidate_datatype_list(symbol_c *datatype, const std::vector <symbol_c *> &candidate_datatypes);
 
 /* Remove a datatype inside a candidate_datatypes list.
  * Returns: If successful it returns true, false otherwise.