[libgee/0.8] Add generic type arguments to HashSet constructor delegate parameters.
- From: Maciej Marcin Piechotka <mpiechotka src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgee/0.8] Add generic type arguments to HashSet constructor delegate parameters.
- Date: Sun, 4 Nov 2012 15:16:47 +0000 (UTC)
commit 75176a7b0558a8875e57db8384e47d8d6167c666
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]