diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2019-09-29 18:15:54 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2019-09-30 16:03:29 +0200 |
commit | 9811ebe2f9b984bca96248183fc412fa8d049c60 (patch) | |
tree | b5618812013aa513b85fcd4d20fe1b734f3498ef /vala/valamethodtype.vala | |
parent | 325c81d6f8db52a9172597766930797adfa6f04a (diff) | |
download | vala-9811ebe2f9b984bca96248183fc412fa8d049c60.tar.gz |
vala: Micro optimizations
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 2ebef7451..2fc531870 100644 --- a/vala/valamethodtype.vala +++ b/vala/valamethodtype.vala @@ -41,7 +41,7 @@ public class Vala.MethodType : CallableType { } public override bool compatible (DataType target_type) { - var dt = target_type as DelegateType; + unowned DelegateType? dt = target_type as DelegateType; if (dt == null) { // method types incompatible to anything but delegates return false; |