diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2019-09-29 12:41:51 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2019-09-30 14:41:39 +0200 |
commit | 4ed61d45ee030577a6987938fd42142d30044ca8 (patch) | |
tree | e586cc1d4c21a5959cab0ee568c1656305ecb18d /vala/valamethodtype.vala | |
parent | 7d317ebfd78bb0e569f277e31b0f4522469b48af (diff) | |
download | vala-4ed61d45ee030577a6987938fd42142d30044ca8.tar.gz |
vala: Let DataType.get_return_type() return an unowned reference
Diffstat (limited to 'vala/valamethodtype.vala')
-rw-r--r-- | vala/valamethodtype.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valamethodtype.vala b/vala/valamethodtype.vala index a10e61b12..4ced128eb 100644 --- a/vala/valamethodtype.vala +++ b/vala/valamethodtype.vala @@ -36,7 +36,7 @@ public class Vala.MethodType : CallableType { return true; } - public override DataType? get_return_type () { + public override unowned DataType? get_return_type () { return method_symbol.return_type; } |