projects
/
platform
/
upstream
/
libgee.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34b6a36
)
Fix Traversable<G>.stream in ReadOnlyCollection
author
Maciej Piechotka
<uzytkownik2@gmail.com>
Mon, 1 Aug 2011 02:50:43 +0000
(
03:50
+0100)
committer
Maciej Piechotka
<uzytkownik2@gmail.com>
Mon, 1 Aug 2011 02:52:37 +0000
(
03:52
+0100)
gee/readonlycollection.vala
patch
|
blob
|
history
diff --git
a/gee/readonlycollection.vala
b/gee/readonlycollection.vala
index
9b0dc57
..
a51b5f3
100644
(file)
--- a/
gee/readonlycollection.vala
+++ b/
gee/readonlycollection.vala
@@
-77,7
+77,7
@@
internal class Gee.ReadOnlyCollection<G> : Object, Iterable<G>, Traversable<G>,
* {@inheritDoc}
*/
public Gee.Iterator<A> stream<A> (owned StreamFunc<A> f) {
- return _collection.stream<A> (f);
+ return _collection.stream<A> (
(owned)
f);
}
/**
@@
-197,7
+197,7
@@
internal class Gee.ReadOnlyCollection<G> : Object, Iterable<G>, Traversable<G>,
}
public Gee.Iterator<A> stream<A> (owned StreamFunc<A, G> f) {
- return
Gee.Iterator.stream_impl<G, A>(this,
(owned)f);
+ return
_iter.stream<A> (
(owned)f);
}
}