[libgee] Add generic type arguments to HashSet constructor delegate parameters.



commit cb3571edbd60e842edf3bf96479cd3dd9089ceb1
Author: Evan Nemerson <evan coeus-group com>
Date:   Mon Oct 29 13:03:52 2012 -0700

    Add generic type arguments to HashSet constructor delegate parameters.

 gee/hashset.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gee/hashset.vala b/gee/hashset.vala
index 07da4f7..e8c9f26 100644
--- a/gee/hashset.vala
+++ b/gee/hashset.vala
@@ -84,7 +84,7 @@ public class Gee.HashSet<G> : AbstractSet<G> {
 	 * @param hash_func an optional hash function
 	 * @param equal_func an optional equality testing function
 	 */
-	public HashSet (owned HashDataFunc? hash_func = null, owned EqualDataFunc? equal_func = null) {
+	public HashSet (owned HashDataFunc<G>? hash_func = null, owned EqualDataFunc<G>? equal_func = null) {
 		if (hash_func == null) {
 			hash_func = Functions.get_hash_func_for (typeof (G));
 		}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]