[libgee] Fix type parameters in LightMapFuture.wait_until/async



commit a3a3cd81a3c69438e7a6219619b21fbf2b891ba1
Author: Jürg Billeter <j bitron ch>
Date:   Fri Jul 15 05:48:23 2016 +0200

    Fix type parameters in LightMapFuture.wait_until/async

 gee/lightmapfuture.vala |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gee/lightmapfuture.vala b/gee/lightmapfuture.vala
index 86daf5e..a19da3b 100644
--- a/gee/lightmapfuture.vala
+++ b/gee/lightmapfuture.vala
@@ -41,8 +41,8 @@ internal class Gee.LightMapFuture<A, G> : Object, Future<A> {
                return _func (_base.wait ());
        }
 
-       public bool wait_until (int64 end_time, out unowned G? value = null) throws Gee.FutureError {
-               unowned A arg;
+       public bool wait_until (int64 end_time, out unowned A? value = null) throws Gee.FutureError {
+               unowned G arg;
                bool result;
                value = null;
                if ((result = _base.wait_until (end_time, out arg))) {
@@ -51,8 +51,8 @@ internal class Gee.LightMapFuture<A, G> : Object, Future<A> {
                return result;
        }
 
-       public async unowned G wait_async () throws Gee.FutureError {
-               unowned A arg = yield _base.wait_async ();
+       public async unowned A wait_async () throws Gee.FutureError {
+               unowned G arg = yield _base.wait_async ();
                return _func (arg);
        }
 


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