From: Rico Tzschichholz Date: Mon, 25 Jan 2021 20:11:55 +0000 (+0100) Subject: vala: Don't prepend "unowned" in VarType and leave that to the CodeWriter X-Git-Tag: 0.51.1~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb97ca55e499e47bd3b02113fca65d02d993ec88;p=thirdparty%2Fvala.git vala: Don't prepend "unowned" in VarType and leave that to the CodeWriter --- diff --git a/vala/valavartype.vala b/vala/valavartype.vala index 7187fc2c9..dada3ca32 100644 --- a/vala/valavartype.vala +++ b/vala/valavartype.vala @@ -29,7 +29,7 @@ public class Vala.VarType : DataType { } public override string to_qualified_string (Scope? scope) { - return (value_owned ? "var" : "unowned var"); + return "var"; } public override DataType copy () {