From 76e425ed2705349b201444e78719896419862b00 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Tue, 12 Oct 2021 16:14:01 +0200 Subject: Fix compiler warnings ('assignment .. from incompatible pointer type') by returning non-const after_actions in OrderListener --- xmpp-vala/src/module/xep/0184_message_delivery_receipts.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmpp-vala/src/module/xep/0184_message_delivery_receipts.vala') diff --git a/xmpp-vala/src/module/xep/0184_message_delivery_receipts.vala b/xmpp-vala/src/module/xep/0184_message_delivery_receipts.vala index cee09f22..e50ec28a 100644 --- a/xmpp-vala/src/module/xep/0184_message_delivery_receipts.vala +++ b/xmpp-vala/src/module/xep/0184_message_delivery_receipts.vala @@ -44,7 +44,7 @@ namespace Xmpp.Xep.MessageDeliveryReceipts { public class SendPipelineListener : StanzaListener { - private const string[] after_actions_const = {}; + private string[] after_actions_const = {}; public override string action_group { get { return "ADD_NODES"; } } public override string[] after_actions { get { return after_actions_const; } } -- cgit v1.2.3-54-g00ecf